[ESS] R not working in Emacs buffer

Rodney Sparapani rsparapa at mcw.edu
Wed Nov 2 20:03:38 CET 2011

tsippel wrote:
> Hello-
> I've installed Emacs and ESS but am not able to get R-2.13.2 in an Emacs
> buffer. Below is the opening Emacs window with info about my machine and
> software:
> "This is GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.18.9)
> of 2011-02-01 on x86-003.build.bos.redhat.com"
> I've created a simple R file called 'test.R'.  The contents of this file,
> as way to see if R is detected by Emacs, are simply:
> ?plot
> When I open my file 'test.R' with Emacs I see the R (and S+ icons) in the
> top row of Emacs.  But when I click on the R icon the line at the bottom of
> Emacs appears "ESS [S(R): R (newest)] starting data directory? ~/Desktop/".
>  After I hit 'Enter' there the message at the bottom appears "Searching for
> program: no such file or directory, R"
> In my buffers I see (in this order): *test.R*; *R*; *scratch*; *ESS*;
> *Messages*; *GNU Emacs*
> I must be missing something in my configuration of Emacs/ESS pointing to
> where to find R, but I'm not finding the solution to this anywhere.
> Thanks,
> Tim

Hi Tim:

Is R in your shell's PATH (which is known as exec-path in emacs, but
does not necessarily correspond to the same value for various reasons).
Have you peeked at the docs?


More information about the ESS-help mailing list