[ESS] R doesn't function in *R* buffer after "M-x R"

pleydell at supagro.inra.fr pleydell at supagro.inra.fr
Fri Nov 13 11:23:11 CET 2009


Dear ESS users

I have a new install of Ubuntu Hardy on a 64 bit machine. R is installed from
source at /home/david/lib/R-2.10.0/bin and in .emacs I have

(setenv "PATH" (concat (getenv "PATH") ":/home/david/lib/R-2.10.0/bin"))
(require 'ess-site)

and a M-x getenv gives

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/david/lib/R-2.10.0/bin

But when I do M-x R I get the error message

"Searching for program: no such file or directory, R"

The M-x R succeeded in providing a *R* buffer but R is not running inside the
buffer. I can start R fine inside a *shell* buffer by typing R at the prompt.

I'm quite confused why ESS can't find R, I also tried

(add-to-list 'load-path "/home/david/lib/R-2.10.0/bin")

but get the same error message.

How can I get M-x R to work properly?

Thanks
David






-- 
David Pleydell
UMR BGPI
CIRAD
TA A-54/K
Campus International de Baillarguet
34398 MONTPELLIER CEDEX 5
FRANCE
Tel: +33 4 99 62 48 65 - Secrétariat : +33 4 99 62 48 21
Fax : +33 4 99 62 48 22
http://umr-bgpi.cirad.fr/trombinoscope/pleydell_d.htm
https://sites.google.com/site/drjpleydell/



More information about the ESS-help mailing list