[R] errors when installing new packages
YI ZHANG
zhangyiosu at yahoo.com
Tue Feb 13 23:47:51 CET 2007
Dear all,
I met a problem when installing new packages on R, my system is linux
fedora 6.0, the following is output. please help me. Thanks.
> install.packages('lars')
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://www.stathy.com/cran/src/contrib/lars_0.9-5.tar.gz'
Content type 'application/x-tar' length 188248 bytes
opened URL
==================================================
downloaded 183Kb
* Installing *source* package 'lars' ...
** libs
gfortran -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables -c delcol.f
-o delcol.o
make: gfortran: Command not found
make: *** [delcol.o] Error 127
ERROR: compilation failed for package 'lars'
** Removing '/usr/lib/R/library/lars'
The downloaded packages are in
/tmp/RtmpxYqqFS/downloaded_packages
Warning message:
installation of package 'lars' had non-zero exit status in:
install.packages("lars")
____________________________________________________________________________________
Get your own web address.
More information about the R-help
mailing list