Skip to content
Prev 7356 / 15075 Next

LME4 not loading

Martin, my experience may only add to the confusion.  When I upgraded to 2.11 on
my office Mac I had a similar problem when loading lme4 from CRAN.  However, I
found the package on R-forge and successfully installed it. On trying the same
procedure on my home Mac running 2.11.1, this approach fails with the following
error (this differs from yours):
Loading required package: Matrix
Loading required package: lattice

Attaching package: 'Matrix'

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

    det

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: /usr/local/lib/libgfortran.2.dylib
  Referenced from:
/Library/Frameworks/R.framework/Resources/library/lme4/libs/i386/lme4.so
  Reason: image not found
Error: package/namespace load failed for 'lme4'

And you will not be able to load "arm" as this depends on "lme4".
Frustrating....
Regards,
Alan

Alan Kelly
Trinity College Dublin

Quoting r-sig-mac-request at stat.math.ethz.ch: