[R] Problem of running R console from Java on linux box

ZhaoWei wzhao1984 at gmail.com
Fri Oct 31 08:57:41 CET 2008


Hi the list:

  I can not create R process from Java application with my linux box, 
the process never was created, or just terminated immediately after I
called Runtime.getRuntime().exec(...)

  The command lines I have tried are(the paths are all correct):

  "/bin/sh /usr/bin/R"
  "/bin/sh -c /usr/bin/R"
  "/usr/lib/R/bin/exec/R"(also set R_HOME=/usr/lib/R)

  I also tried ProcessBuilder, which is no help. I'm confused, is this
possible?

Many Thanks!



More information about the R-help mailing list