Here's the response I got from this list when I had this same problem a
while ago.


On Sun, Jun 13, 2010 at 1:45 PM, Yan Zhou <zhouyan1014@gmail.com> wrote:

> Did you install the gfortran from the Tools webpage of R for mac os x
> developer page,
> http://r.research.att.com/tools/
> If not, install gfortran-42-5659.pkg first.



It seems to have worked for Peter (the OP) and me, and may be the difference
between your home and work computers.

Heidi



On Wed, Jul 28, 2010 at 5:34 AM, Alan Kelly <akelly@tcd.ie> 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'
>
> 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@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-request@stat.math.ethz.ch
> >
> > You can reach the person managing the list at
> >       r-sig-mac-owner@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
>



Heidi Bissell 海迪
Doctoral Candidate
Department of Zoology
University of Wisconsin-Madison
https://mywebspace.wisc.edu/hbissell/web/

	[[alternative HTML version deleted]]

