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
lme4 under 64 bit (Snow Leopard)
5 messages · Michael Kubovy, Steve Lianoglou, Will Morris +2 more
Hi,
On Mon, Sep 14, 2009 at 11:30 PM, Michael Kubovy <kubovy at virginia.edu> wrote:
Error in library.dynam(lib, package, package.lib) : shared library 'lme4' not found [Workspace restored from /.RData]
Assuming you mean to autoload the .Rdata file ...
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?
Did you install XCode after upgrading to Snow Leopard? It looks like it can't find the "make" tool. ...
Error: package 'lme4' is not installed for 'arch=x86_64'
Being that you just installed 64 bit version of R, this makes sense.
Just install the new XCode and install a source package:
R> install.packages('lme4', type='source')
It should work out fine.
-steve
Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mixed-models/attachments/20090915/52dbb127/attachment.pl>
Michael Kubovy wrote:
Here is my session:
And the problem is? (Sounds like you are referring to an ealier post, but I don't see any.) You have a generic package install problem. That's more of an R-sig-mac issue than -ME. Do you need to install from source? If you do, you need a compile toolchain in place, and you obviously haven't. -pd
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
_______________________________________________ R-sig-mixed-models at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
On Sep 15, 2009, at 12:58 AM, Will Morris wrote:
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.
That is not my experience, although it was true in the past. Most of the CRAN binaries now work fine under 64 bit. I do not have Snow Leopard so this experience is only from MacOSX 10.5.8.
David Winsemius > > 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 > <kubovy at virginia.edu> 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 >> >> _______________________________________________ >> R-sig-mixed-models at r-project.org 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 > R-SIG-Mac at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-mac David Winsemius, MD Heritage Laboratories West Hartford, CT