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

Created Unassigned: R.NET Dataframe not handling POSIXlt properly [178]

$
0
0
Hi
One of my R dataframe column is of type "POSIXlt".
I am loading this R dataframe in R.NET's Dataframe object like following :

In R (instance created using R.NET):
----------------------------------------
mydataset = # some R dataframe that has, say fourth column of type POSIXlt. And there are more than 11 rows in the dataframe.

In C#
------
DataFrame DF = engine.GetSymbol("mydataset").AsDataFrame();

Now, when I try to access value of the row index greater than 11 and col index (that is of type POSIXlt), I get ArgumentOutOfRangeException ( as if that particular index doesn't exists ).

//now if I try to access 4th column of row index greater than 11, I get exeception
object data = DF[12,4];


Thanks,


Viewing all articles
Browse latest Browse all 1634

Trending Articles



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