NewRUser
2010-May-14 20:03 UTC
[R] Java API to pass commands to R console from Java Program
Hi all, I am a new user of R and we have to integrate R into Java. I have downloaded and installed R and rJava/JRI and set up the environment. I was able to run the rTest java programs successfully. I have to automate the process involving R. I have the following question regarding it. Instead of opening the console from java program and passing commands (like load) to this console manually, is there any API/function available using which I can pass the commands directly to the console from java code itself instead of typing manually? Thank you. -- View this message in context: http://r.789695.n4.nabble.com/Java-API-to-pass-commands-to-R-console-from-Java-Program-tp2217159p2217159.html Sent from the R help mailing list archive at Nabble.com.
Cedrick W. Johnson
2010-May-15 23:43 UTC
[R] Java API to pass commands to R console from Java Program
You could take a look at RServe on r-forge, perhaps that's what you're looking for? -c On 5/14/2010 4:03 PM, NewRUser wrote:> > Hi all, > > I am a new user of R and we have to integrate R into Java. I have downloaded > and installed R and rJava/JRI and set up the environment. I was able to run > the rTest java programs successfully. > > I have to automate the process involving R. I have the following question > regarding it. > > Instead of opening the console from java program and passing commands (like > load) to this console manually, is there any API/function available using > which I can pass the commands directly to the console from java code itself > instead of typing manually? > > Thank you.