An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20111026/d54168b7/attachment.pl>
lme4 installation problems in Lion
2 messages · John L. Woodard, Ph.D., Simon Urbanek
On Oct 26, 2011, at 7:31 PM, John L. Woodard, Ph.D. wrote:
Dear List,
I'm trying to install lme4 on a MacBook Air running Lion OSX 10.7.2. I first used the command:
install.packages("lme4", repos="http://R-Forge.R-project.org")
to download lme4. Then when I tried to load the library, I got the following message:
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 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: /Library/Frameworks/R.framework/Versions/2.15/Resources/lib/libRlapack.dylib Referenced from: /Library/Frameworks/R.framework/Versions/2.13/Resources/library/lme4/libs/x86_64/lme4.so Reason: image not found In addition: Warning message: package 'lme4' was built under R version 2.15.0 Error: package/namespace load failed for 'lme4'
As the message says, you (or R-Forge) have R version mismatch - you're using R 2.13.x with lme4 built for R 2.15.x. (R-devel).
I did a little more reading in this group and then installed Xcode 4.2 from the App Store and tried to run gfortran-lion-5666-3.pkg. Unfortunately, this gfortran version seems to want to play only with Xcode 4.1. Is there an updated gfortran for Xcode 4.2?
No, there is no difference.
I would be grateful for any other suggestions for getting lme4 up and running. Many thanks!
Try simply
install.packages(c("lme4","Matrix"))
Cheers,
Simon
Best regards, John John L. Woodard, Ph.D. Associate Professor of Psychology Wayne State University 5057 Woodward Ave., 7th Floor Detroit, MI 48202 (313) 577-5838 (voice) (313) 577-7636 (fax) john.woodard@@wayne.edu [[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac