[ESS] How do I best set up M-x R32 and M-x R64?

John Maindonald john.maindonald at anu.edu.au
Sun Sep 20 02:18:22 CEST 2009

(This was sent a few moments ago without a subject!)

Yes, that works,  Actually, I placed
(setq ess-r-versions '("R-1" "R-2" "R32" "R64"))
in my .emacs, before loading ess-site.el.

That turns out to be all that I need to do.  If I make that change,
I can leave my ess-5.4 installation files unchanged, I find.  So
what does the command

(defvar ess-r-versions '("R-1" "R-2" "R-devel" "R-patched"))

do, in essd-r.el?  Does it do what is necessary when one has, e.g.,
R-devel on one's path?

My emacs path has the path to R32 and R64, of course.

I take it, that I was misled by the lines in ess-site.el,
as a model for what I was after:

;;(setq-default inferior-S+6-program-name "Splus8") ; unix systems
;;(setq-default inferior-R-program-name "R")	    ; unix systems

John Maindonald             email: john.maindonald at anu.edu.au
phone : +61 2 (6125)3473    fax  : +61 2(6125)5549
Centre for Mathematics & Its Applications, Room 1194,
John Dedman Mathematical Sciences Building (Building 27)
Australian National University, Canberra ACT 0200.

On 20/09/2009, at 12:08 AM, Stephen Eglen wrote:

> Dear John,
> I don't have a real R64 binary on my machhine, so I just did the
> following:
> ln -s /usr/bin/R ~/bin/R64
> and then added
> (setq ess-r-versions '("R-1" "R-2" "R64"))
> to the end of .emacs and restarted emacs.  I could then do
> M-x R64
> which starts R (but of course is R 2.9.2)
> Could you try this symlink approach (e.g. R99 -> regular 'R')  to  
> see if
> the problem is whether the ess-r-version code or to the binary being
> linked to.
> ALso, I asssume your R64 binary is on the list of paths searched by
> emacs, which you can see by
> C-h v exec-path
> Stephen
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

More information about the ESS-help mailing list