tags:

views:

83

answers:

1

I have installed R-2.9.1 and I am using Emacs+ESS, but when I start an R process, the version of R is 2.6. I thought maybe Emacs was running R from a weird starting directory. However, if I select my home directory, for example, ESS still starts R 2.6. (Running R at the terminal correctly brings up version 2.9.1.)

How do I add a new ESS process, or change the properties of the current R process, so that I can run my newer version of R?

Thanks.

+1  A: 

Try adding something like the following to your ~/.emacs file:

(setq inferior-R-program-name "c:/path/to/Rterm.exe")

and restart emacs.

ars