I am writing a program in c# and using RdotNet to connect C# to R. I convert the value from dataGridView to DataTable in order to pass the value to another class. Then, I want to convert this DataTable into Dataframe using RdotNet. Is it possible to convert DataTable or string[,] generated from dataGridView in C# to a DataFrame using R.Net? How can I do this?
-
did you get any solution for this?Artiga– Artiga2015-10-20 11:11:21 +00:00Commented Oct 20, 2015 at 11:11
-
@Artiga I don't get any solution to convert DataTable to DataFrame. So, in my case, I convert the DataTable into double[], then convert it into NumericVector type. It's a long way thought.puspita– puspita2015-10-20 16:44:44 +00:00Commented Oct 20, 2015 at 16:44
-
For data access between R, .NET and C#, you need to see rdotnet.codeplex.com/documentationpuspita– puspita2015-10-20 16:56:08 +00:00Commented Oct 20, 2015 at 16:56
Add a comment
|
1 Answer
I just answered the question Creating a Data.Frame using R.NET, which is similar to what you are asking. I missed this present question when it was first asked.
Note that the latest documentation is now hosted at http://jmp75.github.io/rdotnet, not the codeplex site.