[R-SIG-Mac] ‘package ‘XML’ is not installed for 'arch=x86_64'’

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Sep 29 12:27:23 CEST 2012


On 29/09/2012 11:11, R. Michael Weylandt wrote:
> On Sat, Sep 29, 2012 at 10:58 AM,
> <Ricardo.Julio.Rodriguez.Fernandez at 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,                  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