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

thanks

Pramod

 

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

 

* installing *source* package 'lme4' ...

** package 'lme4' successfully unpacked and MD5 sums checked

** libs

/share/apps/R-2.15.3/share/make/shlib.mk:6: warning: overriding commands for
target `lme4.so'

Makevars:7: warning: ignoring old commands for target `lme4.so'

gcc -std=gnu99 -I/share/apps/R-2.15.3/include -DNDEBUG  -I/usr/local/include
-I"/share/apps/R-2.15.3/library/Matrix/include"
-I"/share/apps/R-2.15.3/library/stats/include"   -fpic  -g -O2  -c init.c -o
init.o

gcc -std=gnu99 -I/share/apps/R-2.15.3/include -DNDEBUG  -I/usr/local/include
-I"/share/apps/R-2.15.3/library/Matrix/include"
-I"/share/apps/R-2.15.3/library/stats/include"   -fpic  -g -O2  -c lmer.c -o
lmer.o

gcc -std=gnu99 -I/share/apps/R-2.15.3/include -DNDEBUG  -I/usr/local/include
-I"/share/apps/R-2.15.3/library/Matrix/include"
-I"/share/apps/R-2.15.3/library/stats/include"   -fpic  -g -O2  -c
local_stubs.c -o local_stubs.o

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

make: *** [lme4.so] Error 1

ERROR: compilation failed for package 'lme4'

* removing '/share/apps/R-2.15.3/library/lme4'

 

The downloaded source packages are in

        '/tmp/RtmpcTIcHw/downloaded_packages'

Updating HTML index of packages in '.Library'

Making packages.html  ... done

Warning message:

In install.packages("lme4") :

  installation of package 'lme4' had non-zero exit status


	[[alternative HTML version deleted]]

