On Jul 28, 2010, at 6:34 AM, Alan Kelly wrote:

> 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'
> 

The Rforge is not mapping libgfortran correctly hence the error. You can work 
around that by installing gfortran from CRAN - but please read on instead.


> And you will not be able to load "arm" as this depends on "lme4".

I have created extra "untested" repository for this, you can now install lme4 
(CRAN version but ignoring check failures) using

install.packages("lme4",,"http://r.research.att.com/",type='mac.binary.untested')


Cheers,
Simon



> Frustrating....
> Regards,
> Alan
> 
> Alan Kelly
> Trinity College Dublin
> 
> Quoting r-sig-mac-requ...@stat.math.ethz.ch:
> 
>> Send R-SIG-Mac mailing list submissions to
>>      r-sig-mac@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-requ...@stat.math.ethz.ch
>> 
>> You can reach the person managing the list at
>>      r-sig-mac-ow...@stat.math.ethz.ch
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of R-SIG-Mac digest..."
>> 
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to