my RInside program test_rinside
runs well on server with R installed from ubuntu 14.04 sources. After switching to a server with R compiled manually, the RInside program reports fatal error:
cannot find system Renviron
Fatal error: unable to open the base package
Both two servers prints nothing for environment variable R_HOME
.
On the compiled R server, the program runs ok if R_HOME
is manually assigned to /usr/local/lib64/R
, which is R root on the server.
I'm not familiar with the mechanism of R_HOME. what else can I do to run RInside program test_rinside
normally without manually specify R_HOME? Thanks!