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

2010-01-12 Thread Christian Hoffmann

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.


Thanks for help

Christian


--
Christian W. Hoffmann,
Rigiblickstrasse 15 b, CH-8915Hausen am Albis, Switzerland,
Tel +41-44-7640853, c-w.hoffm...@sunrise.ch
www.wsl.ch/personal_homepages/hoffmann/

___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2010-01-12 Thread Simon Urbanek


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@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


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

2010-01-12 Thread John Maindonald
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.maindon...@anu.edu.au
phone : +61 2 (6125)3473fax  : +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@stat.math.ethz.ch
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac