[R] General JRI questions

Ralf B ralf.bierig at gmail.com
Tue Feb 16 21:25:36 CET 2010


Hi all,

I recently started to work with JRI/rJava and have already run R
statements from Java. Since I have larger units encapsulated in R
scripts, I would like to run those from Java directly. I was not able
to answer the following questions and would appreciate your help on
this:

How do I run entire R scripts from Java using JRI? (scripts are
located in the same folder)
How do I pass data from java to these scripts?
How can I return results from these scripts back to Java?

Ralf



More information about the R-help mailing list