When you run the 64bit version of R on OSX you need to compile all packages
from source as 64bit too, rather than simply downloading the binaries which
are all 32bit.

To compile R packages from source you need to have installed the Xcode
package from apple. It can be installed from your OSX discs or downloaded
from the Apple Developer Network site which is is free to join.

On Tue, Sep 15, 2009 at 1:30 PM, Michael Kubovy <[email protected]> wrote:

> Here is my session:
>
> R version 2.9.2 Patched (2009-09-05 r49613)
> Copyright (C) 2009 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
>  Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> [R.app GUI 1.28 (5399) x86_64-apple-darwin9.8.0]
>
> Error in library.dynam(lib, package, package.lib) :
>  shared library 'lme4' not found
> [Workspace restored from /.RData]
>
> trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/
> lme4_0.999375-31.tar.gz'
> Content type 'application/x-gzip' length 839548 bytes (819 Kb)
> opened URL
> ==================================================
> downloaded 819 Kb
>
> * Installing *source* package ‘lme4’ ...
> ** libs
> ** arch - i386
> sh: make: command not found
> ERROR: compilation failed for package ‘lme4’
> * Removing
> ‘/Library/Frameworks/R.framework/Versions/2.9/Resources/library/lme4’
> * Restoring previous
> ‘/Library/Frameworks/R.framework/Versions/2.9/Resources/library/lme4’
>
> The downloaded packages are in
>
>  
> ‘/private/var/folders/TG/TG6nWu2pHYCI-BdWWiyMxU+++TI/-Tmp-/Rtmprhnu6K/downloaded_packages’
> > require(lme4)
> Loading required package: lme4
> Error: package 'lme4' is not installed for 'arch=x86_64'
> In addition: Warning message:
> In install.packages(c("lme4"), lib =
> "/Library/Frameworks/R.framework/Resources/library/",  :
>  installation of package 'lme4' had non-zero exit status
>
> _______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>



-- 
Will Morris
Masters of Philosophy candidate
Vesk Plant Ecology Lab
The School of Botany
The University of Melbourne
Australia
Phone: +61 3 8344 0120
http://www.botany.unimelb.edu.au/vesk/

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to