[R-SIG-Mac] Change Rscript to 64-bit

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Feb 23 07:57:23 CET 2013


On 23/02/2013 04:32, Alton Ing wrote:
> How can we change Rscript to execute in 64-bit?
>
> The following script prints "i386-apple-darwin9.8.0/i386 (32-bit)" :
>
> #!/usr/bin/env Rscript
> sessionInfo()$platform
>
> I want to run RHadoop (rmr2) locally on Mac OS X 10.8.2 (Mountain
> Lion) but it only works with Rscript in 64-bit mode.

Where is that one from (we can't tell?)

On a CRAN installation

/Library/Frameworks/R.framework/Resources/bin/exec/x86_64/Rscript

is 64-bit.  And you can always run "Rscript --arch=x86_64" (not using 
env, though).



-- 
Brian D. Ripley,                  ripley at 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



More information about the R-SIG-Mac mailing list