Skip to content
Prev 9451 / 15075 Next

R 32-bit suddenly the default on Mountain Lion 10.8.2?

On Nov 13, 2012, at 1:59 PM, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:

            
Hi Prof Ripley,

Thanks.


~  which R
/usr/bin/R


/usr/bin/R called directly launches 32 bit R.


R64 launches 64 bit R as one might expect:

~  ls -l /usr/bin/R64
lrwxr-xr-x  1 root  wheel  49 Nov 13 12:15 /usr/bin/R64 -> /Library/Frameworks/R.framework/Resources/bin/R64
~  ls -l /usr/bin/R
lrwxr-xr-x  1 root  wheel  47 Nov 13 12:14 /usr/bin/R -> /Library/Frameworks/R.framework/Resources/bin/R
~  ls -l /Library/Frameworks/R.framework/Resources/bin/R
-rwxrwxr-x  1 root  admin  8775 Oct 26 11:22 /Library/Frameworks/R.framework/Resources/bin/R
That does run 64 bit R, as expected.

Looks like a key flag in the shell script in SVN is:

~  /usr/sbin/sysctl hw.cpu64bit_capable
hw.cpu64bit_capable: 1


Going to try to work my way through the shell script a bit more, but wanted to get back with this information.

Thanks,

Marc