[R] lme4 + R 2.11.0 + mac unavailable

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Aug 24 22:57:43 CEST 2010


On Tue, 24 Aug 2010, Daniel Malter wrote:

>
> Hi, has there been a solution to this issue? I am encountering the same

Yes, please look in the R-sig-mac archives (the place to ask 
Mac-specific questsions!).   My notes say July 28,
https://stat.ethz.ch/pipermail/r-sig-mac/2010-July/007601.html

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

But have you installed the Fortran compiler from

http://r.research.att.com/tools/

?

> 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.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list