[R-SIG-Mac] lme4 in Lion?
Katherine Hayden
khayden at berkeley.edu
Mon Sep 26 04:17:47 CEST 2011
Hi,
Is lme4 working well in Lion? I haven't been able to get it to load on
my 0S 10.7 Mac, and I haven't been able to make the fixes I've seen
elsewhere work for me. I have installed XCode 4.1.1 (including running
the installer the AppStore installed!), as well as GNU fortran 4.2.4
for Lion from r.research.att.com.
I've installed lme4 as type="source" from CRAN, but when I'm trying to
load the library in R (64-bit, 2.13.1 Patched) I get this error:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/x86_64/lme4.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/x86_64/lme4.so,
6): Library not loaded: libRblas.dylib
Referenced from:
/Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/x86_64/lme4.so
Reason: image not found
Error: package/namespace load failed for 'lme4'
If I try loading it the 32-bit R.app, there's an extra line in the
error message, with something about Version 2.5:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/i386/lme4.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/i386/lme4.so,
6): Library not loaded:
/Library/Frameworks/R.framework/Versions/2.5/Resources/lib/libRblas.dylib
Referenced from:
/Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/i386/lme4.so
Reason: image not found
Error: package/namespace load failed for 'lme4'
Following Simon Urbanek's suggestion from a similar question last year
(https://stat.ethz.ch/pipermail/r-sig-mac/2010-July/007601.html), I
also tried installing the package from his untested binary, but it
seems it's not available for this version:
> install.packages("lme4",,"http://r.research.att.com/",type='mac.binary.untested')
Warning: unable to access index for repository
http://r.research.att.com/bin/macosx/untested/contrib/2.13
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘lme4’ is not available (for R version 2.13.1 Patched)
Any suggestions will be appreciated!
--
Katherine Hayden
Postdoctoral Researcher
Forest Pathology & Mycology Lab
University of California, Berkeley
More information about the R-SIG-Mac
mailing list