[R-SIG-Mac] R 32-bit suddenly the default on Mountain Lion 10.8.2?
Berend Hasselman
bhh at xs4all.nl
Tue Nov 13 21:30:28 CET 2012
On 13-11-2012, at 21:07, Federico Calboli <f.calboli at imperial.ac.uk> wrote:
> On 13 Nov 2012, at 19:59, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
>
>> Marc,
>>
>> Start with 'which R', or run /usr/bin/R explicitly.
>
> $ which R
> /usr/bin/R
>
>
>> That should be a symlink to
>>
>> /Library/Frameworks/R.framework/Resources/bin/R
>
> it does:
>
> $ ls -l /usr/bin/R
> lrwxr-xr-x 1 root wheel 47 28 Oct 10:47 /usr/bin/R@ -> /Library/Frameworks/R.framework/Resources/bin/R
>
>>
>> and that should be a symlink,
>
> it's not:
>
> $ ls -l /Library/Frameworks/R.framework/Resources/bin/R
> -rwxrwxr-x 1 root admin 8775 26 Oct 17:22 /Library/Frameworks/R.framework/Resources/bin/R*
>
> $ ls /Library/Frameworks/R.framework/Resources/bin/R*
> /Library/Frameworks/R.framework/Resources/bin/R* /Library/Frameworks/R.framework/Resources/bin/Rd2pdf*
> /Library/Frameworks/R.framework/Resources/bin/R32* /Library/Frameworks/R.framework/Resources/bin/Rdconv*
> /Library/Frameworks/R.framework/Resources/bin/R64* /Library/Frameworks/R.framework/Resources/bin/Rdiff*
> /Library/Frameworks/R.framework/Resources/bin/REMOVE* /Library/Frameworks/R.framework/Resources/bin/Rprof*
> /Library/Frameworks/R.framework/Resources/bin/Rcmd* /Library/Frameworks/R.framework/Resources/bin/Rscript*
>
>
> BW
>
> F
The postflight script tests for 10.6 and 10.7 but not for 10.8.
The relevant lines are
# some jobs needed specifically on Mac OS X 10.6 (Snow Leopard) and 10.7 (Lion)
if uname -r | grep ^1[01] >/dev/null; then
On 10.8.2 uname -r returns 12.2.0 and that doesn't match the grep test.
It would seem that the test should be grep ^1[012] or grep ^1[0-2] .
Berend
More information about the R-SIG-Mac
mailing list