search for: rnigetvector

Displaying 1 result from an estimated 1 matches for "rnigetvector".

2006 Jul 19
1
ASCII dump from an REXP (JRI)
...regard to the data type)? (I?m using Windows XP SP2, 2 x 1.8Ghz Xeon, 1GB RAM, Eclipse 3.1.1, JRI 0.2, R 2.2.1, jdk1.5.0_07, jre1.5.0_06) You mentioned earlier doing something as follows: rexp=reng.eval("nucleitrain"); System.out.println("nucleitrain="+rexp); long[] l=reng.rniGetVector(rexp.xp); for (int i=0;i<l.length;i++) System.out.println(new REXP(reng, l[i])); Now, Java outputs to the screen this: nucleitrain=RXP[unknown/19, id=1218430184, o=null] RXP[unknown/19, id=1218430408, o=null] RXP[int[], id=1219416784, o=[I at 1b000e7] RXP[unknown/6, id=1204356856, o=nu...