Skip to content

lme4 under 64 bit (Snow Leopard)

5 messages · Michael Kubovy, Steve Lianoglou, Will Morris +2 more

#
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
#
Hi,
On Mon, Sep 14, 2009 at 11:30 PM, Michael Kubovy <kubovy at virginia.edu> wrote:

            
Assuming you mean to autoload the .Rdata file ...
Did you install XCode after upgrading to Snow Leopard? It looks like
it can't find the "make" tool.

...
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
#
Michael Kubovy wrote:
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

  
    
#
On Sep 15, 2009, at 12:58 AM, Will Morris wrote:

            
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.