1

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?

3
  • did you get any solution for this? Commented 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. Commented Oct 20, 2015 at 16:44
  • For data access between R, .NET and C#, you need to see rdotnet.codeplex.com/documentation Commented Oct 20, 2015 at 16:56

1 Answer 1

0

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.