[R] lme4 + R 2.11.0 + mac unavailable

Daniel Malter daniel at umd.edu
Tue Aug 24 21:13:48 CEST 2010


Hi, has there been a solution to this issue? I am encountering the same
problem on a Mac with OSX 10.6.4. The problem persists when I try to install
lme4 from the source (see below), and my R version is up to date according
to R's update check.

Thanks for any help,
Daniel

--------------

sessionInfo()
R version 2.11.1 (2010-05-31) 
x86_64-apple-darwin9.8.0 

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] tools_2.11.1

--------------

install.packages("lme4")
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package ‘lme4’ is not available

--------------

install.packages("lme4", type = "source") 
trying URL
'http://lib.stat.cmu.edu/R/CRAN/src/contrib/lme4_0.999375-35.tar.gz'
Content type 'application/x-gzip' length 1017763 bytes (993 Kb)
opened URL
==================================================
downloaded 993 Kb

* installing *source* package ‘lme4’ ...
** libs
*** arch - i386
gcc -arch i386 -std=gnu99
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include/i386 
-I/usr/local/include
-I"/Library/Frameworks/R.framework/Versions/2.11/Resources/library/Matrix/include"
-I"/Library/Frameworks/R.framework/Resources/library/stats/include"   -fPIC 
-g -O2 -c init.c -o init.o
gcc -arch i386 -std=gnu99
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include/i386 
-I/usr/local/include
-I"/Library/Frameworks/R.framework/Versions/2.11/Resources/library/Matrix/include"
-I"/Library/Frameworks/R.framework/Resources/library/stats/include"   -fPIC 
-g -O2 -c lmer.c -o lmer.o
gcc -arch i386 -std=gnu99
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include/i386 
-I/usr/local/include
-I"/Library/Frameworks/R.framework/Versions/2.11/Resources/library/Matrix/include"
-I"/Library/Frameworks/R.framework/Resources/library/stats/include"   -fPIC 
-g -O2 -c local_stubs.c -o local_stubs.o
gcc -arch i386 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names
-undefined dynamic_lookup -single_module -multiply_defined suppress
-L/usr/local/lib -o lme4.so init.o lmer.o local_stubs.o
-L/Library/Frameworks/R.framework/Resources/lib/i386 -lRlapack
-L/Library/Frameworks/R.framework/Resources/lib/i386 -lRblas -lgfortran
-F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework
-Wl,CoreFoundation
ld: library not found for -lgfortran
collect2: ld returned 1 exit status
make: *** [lme4.so] Error 1
ERROR: compilation failed for package ‘lme4’
* removing
‘/Library/Frameworks/R.framework/Versions/2.11/Resources/library/lme4’

The downloaded packages are in

‘/private/var/folders/q5/q5YCJSnWH7arB5jzTZBIf++++TI/-Tmp-/Rtmp4tcqUG/downloaded_packages’
Updating HTML index of packages in '.Library'
Warning message:
In install.packages("lme4", type = "source") :
  installation of package 'lme4' had non-zero exit status



-- 
View this message in context: http://r.789695.n4.nabble.com/lme4-R-2-11-0-mac-unavailable-tp2220331p2337213.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list