[R] could someone help me to install packages "gam" (ubuntu 6.06)
xingwang ye
xwyefelix at gmail.com
Fri Jul 28 16:04:13 CEST 2006
> install.packages("gam")
Warning in install.packages("gam") : argument 'lib' is missing: using
/usr/local/lib/R/site-library
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/gam_0.97.tar.gz'
Content type 'application/x-gzip' length 89613 bytes
opened URL
==================================================
downloaded 87Kb
* Installing *source* package 'gam' ...
** libs
g77 -fpic -g -O2 -c backfit.f -o backfit.o
g77 -fpic -g -O2 -c backlo.f -o backlo.o
g77 -fpic -g -O2 -c bsplvd.f -o bsplvd.o
g77 -fpic -g -O2 -c bvalue.f -o bvalue.o
g77 -fpic -g -O2 -c bvalus.f -o bvalus.o
g77 -fpic -g -O2 -c linear.f -o linear.o
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2
-std=gnu99 -c loessc.c -o loessc.o
g77 -fpic -g -O2 -c loessf.f -o loessf.o
g77 -fpic -g -O2 -c lo.f -o lo.o
g77 -fpic -g -O2 -c qsbart.f -o qsbart.o
gcc -I/usr/share/R/include -I/usr/share/R/include -fpic -g -O2
-std=gnu99 -c sbart.c -o sbart.o
g77 -fpic -g -O2 -c sgram.f -o sgram.o
g77 -fpic -g -O2 -c sinerp.f -o sinerp.o
g77 -fpic -g -O2 -c splsm.f -o splsm.o
g77 -fpic -g -O2 -c sslvrg.f -o sslvrg.o
g77 -fpic -g -O2 -c stxwx.f -o stxwx.o
gcc -shared -o gam.so backfit.o backlo.o bsplvd.o bvalue.o bvalus.o
linear.o loessc.o loessf.o lo.o qsbart.o sbart.o sgram.o sinerp.o
splsm.o sslvrg.o stxwx.o -lblas-3 -lg2c -lm -lgcc_s -L/usr/lib/R/lib
-lR
/usr/bin/ld: cannot find -lblas-3
collect2: ld returned 1 exit status
make: *** [gam.so] Error 1
ERROR: compilation failed for package 'gam'
** Removing '/usr/local/lib/R/site-library/gam'
The downloaded packages are in
/tmp/RtmpQmwp2v/downloaded_packages
Warning message:
installation of package 'gam' had non-zero exit status in:
install.packages("gam")
More information about the R-help
mailing list