[ESS] How to start another R-process with another version of R

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Tue Mar 20 11:51:26 CET 2012

Ramon Diaz-Uriarte <rdiaz02 at gmail.com> wrote:

> (I understand this might be an unusual scenario but ...)
> But I think you cannot have arbitrary names. For instance, if you have a
> ~/bin where you keep links to a bunch of R versions, names such as R-devel
> or R-2.14 or R-2.14-my-test-number-99 will work out of the box. But if you
> want to use "R-my-test-number-99", it will not (nor will "R-2-d-2" or "R-3",
> etc). 
> If that is needed, the following (unorthodox?) approach seems to work

> (setq exec-path (append exec-path '("/home/ramon/bin")))
> (unload-feature 'ess-site t)
> ;; these are the links that live under ~/bin
> (setq ess-r-versions '("R-99" R-my-test-number-99" "R-2.14-patched" "R-2.14" "R-2.13" "R-devel")) 
> (require 'ess-site)
> (setq ess-use-inferior-program-name-in-buffer-name t)

Thanks Ramon; changing ess-r-versions is indeed the suggested way to
find other versions of R.  Doug Bates suggested addding
ess-r-versions-list to mirror ess-s-versions-list; this is on my todo
list which you can see in etc/sje-ess-notes.txt !


More information about the ESS-help mailing list