We use JRI as par of a R web service infrastructure, where we have
Java classes around specific R functions (lm, randomForest, nnet etc)
as well as classes that call arbitrary R code
You can look at the code at http://cicc-grid.svn.sourceforge.net/
viewvc/cicc-grid/cicc-grid/rws/trunk/src/net
I made the observation that it is easier to call java from R by using rJava.
This is very much analogous to calling C or fortran from R, but your mileage
can vary.
Vaibhav Gathibandhe wrote:
>
> Hi all,
>
> I am writing R code and I want to interface with JAVA i.e. I want to call
> R
> from J
I think that working with the JRI is a good way to call R from java. You
can send arbitrary commands from java to R, so you can load and use add-on
packages.
On Wed, 12 Sep 2007, Vaibhav Gathibandhe wrote:
> Hi all,
>
> I am writing R code and I want to interface with JAVA i.e. I want to call R
Hi all,
I am writing R code and I want to interface with JAVA i.e. I want to call R
from JAVA. That's why i have installed JRI on my machine.
There is also documentation available in "Javadoc".
But as i am very new to JAVA and well as R, I don't understand much of it.
If someone is using this
4 matches
Mail list logo