How can I convert a data table in C# to data.fame in R using R.net <p>I need to convert a data table which I have defined as follows to a data frame in R.</p> <pre><code>DataTable dtb = new DataTable(); dtb.Columns.Add("Column1", Type.GetType("System.String")); dtb.Columns.Add("Column2", Type.GetType("System.String")); DataRow dtr1 = dtb.NewRow(); dtr1[0] = "abc"; dtr1[1] = "cdf"; dtb.Rows.Add(dtr1); DataRow dtr2 = dtb.NewRow(); dtr2[0] = "asdasd"; dtr2[1] = "cdasdasf"; dtb.Rows.Add(dtr2); </code></pre> <p>Is there any way to convert above DataTable "<code>dtb</code>" to a data.frame in R. I have defined this DataTable in C# but I need to do computation in R, that is why I need to pass it to R.</p>