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
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")
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
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
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