search for: jclasspath

Displaying 5 results from an estimated 5 matches for "jclasspath".

Did you mean: classpath
2011 Apr 30
3
Copying to R a rectangular array from a Java class
...g); } 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 <- .jcall(rJavaTst,returnSig="S","retConStg") print(connStgRet) conn1Arr <- .jfield(rJavaTst,sig="...
2009 Apr 05
1
RJava question(class not found with rJava's vm, though found with alternate vm)
Not sure if this the right place, but I can't seem to subscribe to the rJava mailing list. Sorry for the noise. I have a jar file in the CLASSPATH variable. On running .jinit and checking .jclassPath, i can see the jar file containing the class. Yet when trying to instantaite the class, i get a class not found error. Now If if, create my own vm (see below), and then run .jinit (which will use my vm), i can find the class in question (org.apache.hadoop.io.longwritable) Is there some classloade...
2012 Mar 22
3
calling java from R and using java time series double precision array
I haven't had time to try using R for over a year, but have a colleage who wants to. We work with time series and our current version of our calendar-time subroutines in java converts both directions between linear time and calendar. We have used calendar time since year 1965 starting out then with Fortran. Calendar time can be CnYrMoDa | CnYrMoDaHr | CnYrMoDaHrMn | CnYrMoDaHrMnSc |
2007 Sep 27
2
rJava and RJDBC
...river}" my java version is > .jcall('java.lang.System','S','getProperty','java.version') [1] "1.6.0_02" jre When I use java 1.5.0_11 jre I have the same problem but the .jgetEx() is > .jgetEx() [1] "Java-Object{} my class path is > .jclassPath() [1] "C:\\PROGRA~1\\R\\library\\rJava\\java" [2] "." [3] "C:\\libraries\\mysql-connector-java-5.1.3-rc\\mysql-connector-java-5.1.3-rc-bin.jar" [4] "C:\\libraries\\xmlbeans-2.0.0-beta1\\lib\\xbean.jar" [5] "C:\\libraries\\POI\\poi-2.5.1-...
2009 Mar 24
0
A question about rJava and the classpath
...; java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.hadoop.hdfs.DistributedFileSystem at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:720) This does not appear to be possible(ClassNotFound), since hadoop-0.19-core.jar which is *present* in the output of .jclassPath() does contain an entry to this class. Moreover, when run at the command line using the *same* classpath, I don't get any such error messages. Is there a possible reason why? Regards Saptarshi Saptarshi Guha