Hi J-M,
I got an error when creating DataFrame in memory:
I got an error when creating DataFrame in memory:
e.SetSymbol("dData", e.CreateNumericVector(dftData));
e.Evaluate("print(dData)");
var df = e.Evaluate("data.frame(X=dData").AsDataFrame();
dData print out ok, but next statement causes the error:[1] 5 8 9 10 11 13 13 13 13 15 15 16 16 17 17 18 18 19 19 22 22 25 25 26 28
[26] 28 29 32 32 34 38 44
A first chance exception of type 'System.ArgumentNullException' occurred in RDotNet.dll
Additional information: Value cannot be null.
Did I miss something here?