JRI Fatal Error on Ubuntu

Posted by Peter Jackson on Stack Overflow See other posts from Stack Overflow or by Peter Jackson
Published on 2012-09-23T22:55:44Z Indexed on 2012/09/25 15:37 UTC
Read the original article Hit count: 227

Filed under:
|
|
|
|

I have successfully installed JRI and rJava on Windows 7. I am now trying to get it to work on Ubuntu with 64bit OS. I can make rJava calls from within R but getting JRI to work is more difficult. I am running NetBeans 7.1.2 and I have followed various tricks in setting R_HOME and java.library.path to enable all the classes to be loaded. That is, I am past the error messages such as "jri library not found" and "R_HOME not set".

From my java code,I can see that R_HOME = /usr/lib64/R.

The error message I get now is

Fatal error: you must specify '--save', '--no-save' or '--vanilla'

This happens when Rengine is first called:

Rengine r = new Rengine(args,false,null);

This appears to be an error message from R; it seems to be expecting a command line argument. I haven't seen any posting with this error message. Any ideas? Thanks, Peter

© Stack Overflow or respective owner

Related posts about r

    Related posts about ubuntu