Displaying 1 result from an estimated 1 matches for "rinterfacehl".
Did you mean:
rinterface
2010 Mar 24
0
Trying to create R dataframe with JRI
...simple
integers) -- all worked fine.
Now I want to feed data as a dataframe to R. I thought I can make
RVector objects, create RList objects from that and create REXP
dataframes from those lists. I found an example here:
http://code.google.com/p/jamsim/source/browse/trunk/JAMSIM/src/org/jamsim/r/RInterfaceHL.java?spec=svn52&r=52
...
RList rlist = new RList(vectors.size(), true);
...
// turn the rlist into a dataframe
REXP dataframe = REXP.createDataFrame(rlist);
....
both of these constructors do not exist in JRI (apparently). They must
use a different set of libraries (?) and I am now puzzeled....