[R-sig-Debian] [SOLVED] Rscript path problem on R 2.13.1 for Ubuntu 11.04?
Johan Nylander
Johan.Nylander at abc.se
Mon Sep 19 16:25:35 CEST 2011
Dear all,
I Located my previous problem: an orphan Rscript was still in /usr/local/bin,
and since /usr/local/bin came before /usr/bin/ in the PATH, the "wrong"
Rscript was called. Removing /usr/local/bin/Rscript solved the installation
issue with Ubuntu 11.04+R 2.13.1 but I'm still unsure on the exact details
why/where/when the error "Rscript execution error: No such file or directory"
is given.
Yours
Johan
Previous error messages:
>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
More information about the R-SIG-Debian
mailing list