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

New Post: 2D Array double[,] to dataframe?

$
0
0
Hello,

I am currently pulling data using C# from various sources to create a 2d array of doubles.
I am then exporting that array as a CSV then importing it to R using read table.
I was wondering (hoping) there would be a faster way to do this?
Perhaps a way to go directly from the 2d array to the R engine?
I tried the Engine.SetSymbol("data", Engine.CreateDataFrame(MyArray)) but it throws an error saying the best overload method has invalid arguments.

Any help is much appreciated!

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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