[Rd] Example of calling R from Java
Duncan Temple Lang
Wed, 20 Dec 2000 06:48:23 -0500 (EST)
> From: "Moshe Recanati" <email@example.com>
> Date: Sun, 17 Dec 2000 10:12:25 +0200
> I downloaded the R for Java interface. I read about calling R =
> scripts/methods from java, but I can't find any detailed example about =
> I need an example of how to use this.
> For example how to load data object (i.e. of colt) to r , run anova =
> function and get the results - all from java!!!
> Thank you very very much
There is a new version of both the Java package (now 0.61) and the
RFromJava document (http://www.omegahat.org/RSJava/RFromJava.pdf)
which gives an example (with the code and a script to run it) of
fitting a linear model in R from Java and getting the resulting lm
object back to Java.
As I have mentioned before, you have to think about what it means
to "get the results" in the context of your application.
Duncan Temple Lang firstname.lastname@example.org
Bell Labs, Lucent Technologies office: (908)582-3217
700 Mountain Avenue, Room 2C-259 fax: (908)582-3340
Murray Hill, NJ 07974-2070
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: email@example.com