Re: [Rd] rJava question

2010-12-28 Thread Simon Urbanek
Dominick, On Dec 27, 2010, at 11:56 PM, Dominick Samperi wrote: > After some trial and error I figured out how to pass matrices from R to java > and back using rJava, but this method is not documented and I wonder if there > is a > better way? > stats-rosuda-devel is the rJava list you want to

[Rd] rJava question

2010-12-27 Thread Dominick Samperi
After some trial and error I figured out how to pass matrices from R to java and back using rJava, but this method is not documented and I wonder if there is a better way? Anyway, here is what I found works: (m = matrix(as.double(1:12),3,4)) [shows m as you would expect] jtest <- .jnew("JTest")

Re: [Rd] RJava question(class not found with rJava's vm, though found with alternate vm)

2009-04-05 Thread Saptarshi Guha
I have continued this on the stats-rosuda-devel mailing list. Saptarshi Guha On Sun, Apr 5, 2009 at 10:12 AM, Simon Urbanek wrote: > > On Apr 5, 2009, at 9:26 AM, Saptarshi Guha wrote: > > Not sure if this the right place, but I can't seem to subscribe to the >> rJava >> mailing list. Sorry fo

Re: [Rd] RJava question(class not found with rJava's vm, though found with alternate vm)

2009-04-05 Thread Simon Urbanek
On Apr 5, 2009, at 9:26 AM, Saptarshi Guha wrote: Not sure if this the right place, but I can't seem to subscribe to the rJava mailing list. Sorry for the noise. The correct mailing list is stats-rosuda-devel: http://mailman.rz.uni-augsburg.de/mailman/listinfo/stats-rosuda-devel (The rJav

[Rd] RJava question(class not found with rJava's vm, though found with alternate vm)

2009-04-05 Thread Saptarshi Guha
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 cl