On 29/09/2012 11:11, R. Michael Weylandt wrote:
On Sat, Sep 29, 2012 at 10:58 AM,
<ricardo.julio.rodriguez.fernan...@sergas.es> wrote:
Please, allow me to hijack this thread to put in another, for me, related question I'm 
trying to work out on the list. To the best of my understanding and by following the 
documentation when I install R binary for Mac OS X both i386 and x86_64 are available. In 
fact I can easily choose among them by launching R Console by click on R or R64 
"icons". But I'm not able to find the switch I must use to get the same thing 
when running R from the command line: I always get x86_64. I'm not able to solve this 
question by following R for Mac OS X FAQ or other sources of information available from 
CRAN.


For me, R32 and R64 do the job. They're simlinked to

R* -> /Library/Frameworks/R.framework/Resources/bin/R*

where * is 32 or 64. I don't remember setting those up, so they
probably happen automatically if you use the CRAN installer.

True (but you may have other scripts of that name earlier in your path: I do from before this was done by the installer).

But the documented way is R --arch i386 (or x86_64).

Which is the default sub-architecture depends on the version of OS X which was used for installation: from memory this is i386 for Leopard and x86_64 since.

Please note that we do need to know the OS X version for questions like this: what the installer does depends on the version.

--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to