[R] Error message installing package R package

Ben Bolker bbolker at gmail.com
Thu Mar 21 18:12:50 CET 2013


Pramod Anugu <pramod.r.anugu <at> jsums.edu> writes:

> I am getting error messages while installing R package lme4. Please advice

  This would be better on the r-sig-mixed-models at r-project.org list.

  You haven't told us, but I'm guess from what you've pasted below
that you're on a Unix system, and most obviously one without the
'gfortran' FORTRAN compiler installed.  The procedures for installing
gfortran will be system-specific (for Linux probably either apt-get
install ... or yum ...) -- there may be useful instructions on the web,
or on the main r-project web site.
 
> trying URL 'http://cran.mtu.edu/src/contrib/lme4_0.999999-0.tar.gz'
> Content type 'application/x-gzip' length 1074142 bytes (1.0 Mb)
> 
> opened URL
> 
> ==================================================
> 
> downloaded 1.0 Mb

  [snip]
 
> gcc -std=gnu99 -shared -L/usr/local/lib64 -o lme4.so init.o lmer.o
> local_stubs.o -L/share/apps/R-2.15.3/lib -lRlapack
> -L/share/apps/R-2.15.3/lib -lRblas -lgfortran -lm
> /usr/bin/ld: cannot find -lgfortran
> collect2: ld returned 1 exit status



More information about the R-help mailing list