[R-SIG-Mac] LME4 not loading

Alan Kelly akelly at tcd.ie
Wed Jul 28 12:34:08 CEST 2010


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):
> library(lme4)
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:

> Send R-SIG-Mac mailing list submissions to
> 	r-sig-mac at stat.math.ethz.ch
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> or, via email, send a message with subject or body 'help' to
> 	r-sig-mac-request at stat.math.ethz.ch
>
> You can reach the person managing the list at
> 	r-sig-mac-owner at stat.math.ethz.ch
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of R-SIG-Mac digest..."
>



More information about the R-SIG-Mac mailing list