Re: [R] R_HOME setting on Linux

2014-07-23 Thread Prof Brian Ripley
I am guessing this is a distribution prepared by someone else, with non-default settings for where things are installed. If you do that, there is no guarantee that you can test the installed R, as the tests do generally assume the standard layout. If you change this test to use file.path(R.ho

[R] R_HOME setting on Linux

2014-07-23 Thread Richard Chandler-Mant
I have an installation of R 3.0.2 on a CentOS 6.3 distribution in /opt/R/3.0.2 In the R start-up script (/opt/R/3.0.2/bin/R) the value of R_HOME is set to /opt/R/3.0.2/lib/R and this is the value returned from the R.home() function within an R session. According to the installation documentatio