Dear all,
finally decided to do an Ubuntu upgrade and a new clean R install from
http://cran.r-project.org/bin/linux/ubuntu/.
However, while trying to install a package from R-forge I encountered
problems, involving error messages saying "Rscript execution error: No
such file or directory" (see below).
The same procedure works on Ubuntu 11.04 running R 2.12.1-1 from the
Ubuntu repositories.
The behavior of Rscript on my (11.04 + 2.13.1) machine:
$ which Rscript
/usr/local/bin/Rscript
$ Rscript --version
R scripting front-end version 49838
$ Rscript -e 'rnorm(1)'
Rscript execution error: No such file or directory
on my 11.04 + 2.12.1:
$ which Rscript
/usr/bin/Rscript
$ Rscript --version
R scripting front-end version 2.12.1 (2010-12-16)
$ Rscript -e 'rnorm(1)'
[1] 0.9278564
Seems like this problem has been seen before
(http://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14493), and that the
wrong PATH and/or RHOME is involved.
Any suggestions? Solutions?
Cheers
Johan
--------------------------------------------
Install Error output (On Ubuntu Linux 11.04 64bit, R version 2.13.1
(2011-07-08). R installed from CRAN Ubuntu bin repositories.)
$ sudo R