[R-SIG-Mac] lme4 fails to load in R GUI 2.8.0

Christopher David Desjardins cddesjardins at gmail.com
Wed Nov 19 02:37:20 CET 2008


When I try to load lme4 on R (2.8.0) in the R GUI for Mac OS X, I get  
the following warnings and errors ...

 > library(lme4)
Loading required package: Matrix
Loading required package: lattice

Attaching package: 'Matrix'


	The following object(s) are masked from package:stats :

	 xtabs


	The following object(s) are masked from package:base :

	 colMeans,
	 colSums,
	 rcond,
	 rowMeans,
	 rowSums

Error in dyn.load(file, DLLpath = DLLpath, ...) :
   unable to load shared library '/Library/Frameworks/R.framework/ 
Resources/library/lme4/libs/i386/lme4.so':
   dlopen(/Library/Frameworks/R.framework/Resources/library/lme4/libs/ 
i386/lme4.so, 6): Library not loaded: /Library/Frameworks/R.framework/ 
Versions/2.5/Resources/lib/libRlapack.dylib
   Referenced from: /Library/Frameworks/R.framework/Resources/library/ 
lme4/libs/i386/lme4.so
   Reason: image not found
In addition: Warning messages:
1: In namespaceImportFrom(self, asNamespace(ns)) :
   replacing previous import: cov2cor
2: In namespaceImportFrom(self, asNamespace(ns)) :
   replacing previous import: update
3: In namespaceImportFrom(self, asNamespace(ns)) :
   replacing previous import: xtabs
Error: package/namespace load failed for 'lme4'

However, I can properly load lme4 from Aquamacs via ESS and from  
Terminal.  I get the same warnings just not the dyn.load() error.

Does anyone know what I need to do?

Thanks,
Chris



More information about the R-SIG-Mac mailing list