Displaying 1 result from an estimated 1 matches for "retcon2arr".
2011 Apr 30
3
Copying to R a rectangular array from a Java class
...uble[][] { { 101,102,103,104
},{ 201,202,203,204 },{ 301,302,303,304 } };
public final static String retConStg() { return(conStg); }
public final static double retCon0dbl() { return(con0dbl); }
public final static double[] retCon1Arr() { return(con1Arr); }
public final static double[][] retCon2Arr() { return(con2Arr); }
}
library(rJava)
.jinit()
.jaddClassPath("C:/ad/j") # a directory on my disk
print(.jclassPath())
rJavaTst <- .jnew("RJavTest") # compilation of class code
connStg <- .jfield(rJavaTst,sig="S","conStg")
print(connStg)
connStgRet...