[R-SIG-Mac] lme4 under 64 bit (Snow Leopard)

Steve Lianoglou mailinglist.honeypot at gmail.com
Tue Sep 15 05:58:23 CEST 2009


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 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

More information about the R-SIG-Mac mailing list