[R-SIG-Mac] how to start R64 from M-x R...

John Maindonald john.maindonald at anu.edu.au
Tue Jan 12 22:51:56 CET 2010


The following in the .emacs file should do the job:

(setq-default inferior-R-program-name "R32")	    ; unix systems
(setq ess-r-versions '("R-1" "R-2" "R32" "R64"))

In my setup, I follow this with:
(load "/usr/local/ess/ess-5.7.1/lisp/ess-site")

Change the R32 in the initial line to R64 to make that the default.

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.
http://www.maths.anu.edu.au/~johnm

On 13/01/2010, at 6:58 AM, Simon Urbanek wrote:

> 
> On Jan 12, 2010, at 14:47 , Christian Hoffmann wrote:
> 
>> Hi there,
>> 
>> May be this question has been answered before, but how to start the 64 bit version inside ESS? I have successfully used
>> C-u M-x R then "--arch=x86_64" <RT>, but remembering "--arch=x86_64" is a nuisance (for me...).
>> Defining on Unix >  alias R64 'R --arch=x86_64 &' works only from the terminal, so obviously this is an ESS thing (with elisp?) which I am not versed in.
>> 
> 
> You may ask on the ESS list, but another way around is to change the default directly in the R start script by changing
> : ${R_ARCH=/`arch`}
> to
> : ${R_ARCH=/x86_64}
> 
> Cheers,
> Simon
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list