Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

New Post: Creating DataFrame In Memory

$
0
0
Hi J-M,

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?

Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>