On 17-11-2012, at 19:54, Saptarshi Guha wrote:
> I'm trying to install a package on OS X (Snow Leopard) using the
following
> command, but instead of respecting the arch directive it install i386.
1. This belongs on R-SIG-Mac.
And it didn't install the x86_64 architecture?
Are you sure?
Any error messages?
Have you tried library(...)?
> How
> can this be resolved?
>
2. from my experiments R CMD INSTALL seems to ignore the --arch option. And
installs both i386 and x86_64 versions.
3. I don't think you can resolve "this". If you have installed
CRAN R you will have both the 32-bit and 64-bit versions of R.
So it is quite natural that R installs both arch'es.
Berend
>
> R --arch=x86_64 CMD INSTALL ....
> * installing to library
> ?/Library/Frameworks/R.framework/Versions/2.15/Resources/library?
> * installing *source* package ?Rhipe? ...
> ** libs
> *** arch - i386
> g++ -arch i386 -I/Library/Frameworks/R.framework/Resources/include -I.....
>
>
>
> My system (from cmd: R --arch=x86_64 )
> R version 2.15.2 (2012-10-26) -- "Trick or Treat"
> Copyright (C) 2012 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.