[ESS] Issues with ESS and R 3.0.0 on Windows

Kevin Coombes kevin.r.coombes at gmail.com
Sat Apr 20 19:55:14 CEST 2013


Hi,

I just installed R 3.0.0 on a laptop running Windows 7, 64-bit 
professional, and Emacs 24.3.  I am using ESS 12.09-2 (since that is the 
latest version on the download page, even though the HTML documentation 
on the download page reports itself as 13.03).

R is *not* installed in the default location (C:\Program 
Files\R\R-3.0.0) because that makes it more difficult to install new 
packages.  Instead, it is installed in C:\R\R-3.0.0.

My problem: ESS cannot find the default Rterm.exe. It gives an error 
message:
     "Searching for program: permission denied, Rterm"

My .emacs file includes the two lines:
     (setq ess-directory-containing-R "C:")
     (require 'ess-site)

On the same machine, with the same .emacs file, ESS is able to locate 
R-2.15.2, which is installed at C:\R\R-2.15.2.

I know how to hack a solution to this problem by editing the ess-site.el 
file to explicitly define
     (setq-default inferior-R-program-name 
"C:\\R\\R-3.0.0\\bin\\x64\\Rterm.exe")
and will use that as a short-term solution. But this is obviously 
painful to remember to fix whenever I install a new version of R.

What is the correct long-term solution?

Thanks,
     Kevin



More information about the ESS-help mailing list