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

Simon Urbanek simon.urbanek at r-project.org
Wed Nov 19 03:23:07 CET 2008


You are picking up a very ancient binary for R 2.5.0 (as you can see  
from the error). Check your .libPath() for old package binaries and  
remove/reinstall them.

Cheers,
S

On Nov 18, 2008, at 8:37 PM, Christopher David Desjardins wrote:

> 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
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



More information about the R-SIG-Mac mailing list