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'

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?

I would be grateful for any other suggestions for getting lme4 up and running.  Many thanks!

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

