[R-SIG-Mac] lme4 in Lion?
Simon Urbanek
simon.urbanek at r-project.org
Mon Sep 26 04:58:24 CEST 2011
Katherine,
On Sep 25, 2011, at 10:17 PM, Katherine Hayden wrote:
> Hi,
>
> Is lme4 working well in Lion?
Yes.
> I haven't been able to get it to load on
> my 0S 10.7 Mac,
How did you install it? Try
install.packages("lme4")
that works for me on Lion without problems. If you have some particular problem with it, please let us know.
> and I haven't been able to make the fixes I've seen
> elsewhere work for me. I have installed XCode 4.1.1 (including running
> the installer the AppStore installed!), as well as GNU fortran 4.2.4
> for Lion from r.research.att.com.
>
> I've installed lme4 as type="source" from CRAN, but when I'm trying to
> load the library in R (64-bit, 2.13.1 Patched) I get this error:
I do not recommend it since we do provide a binary, but if you insist, please make sure you switched to R BLAS first as mentioned in the thread you quote.
Cheers,
Simon
>
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
> unable to load shared object
> '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/x86_64/lme4.so':
> dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/x86_64/lme4.so,
> 6): Library not loaded: libRblas.dylib
> Referenced from:
> /Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/x86_64/lme4.so
> Reason: image not found
> Error: package/namespace load failed for 'lme4'
>
> If I try loading it the 32-bit R.app, there's an extra line in the
> error message, with something about Version 2.5:
>
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
> unable to load shared object
> '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/i386/lme4.so':
> dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/i386/lme4.so,
> 6): Library not loaded:
> /Library/Frameworks/R.framework/Versions/2.5/Resources/lib/libRblas.dylib
> Referenced from:
> /Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/i386/lme4.so
> Reason: image not found
> Error: package/namespace load failed for 'lme4'
>
> Following Simon Urbanek's suggestion from a similar question last year
> (https://stat.ethz.ch/pipermail/r-sig-mac/2010-July/007601.html), I
> also tried installing the package from his untested binary, but it
> seems it's not available for this version:
>
>> install.packages("lme4",,"http://r.research.att.com/",type='mac.binary.untested')
> Warning: unable to access index for repository
> http://r.research.att.com/bin/macosx/untested/contrib/2.13
> Warning message:
> In getDependencies(pkgs, dependencies, available, lib) :
> package ‘lme4’ is not available (for R version 2.13.1 Patched)
>
> Any suggestions will be appreciated!
> --
> Katherine Hayden
> Postdoctoral Researcher
> Forest Pathology & Mycology Lab
> University of California, Berkeley
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
More information about the R-SIG-Mac
mailing list