[R] help installing packages

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Nov 21 23:48:55 CET 2000

Rose Amanda Hoberman <Rose_Amanda_Hoberman at gs36.sp.cs.cmu.edu> writes:

> I was trying to install a package but received this error message:
> >R INSTALL KernSmooth_2.22-3.tar.gz 
> Installing package `KernSmooth' ...
>  libs
> g77   -fPIC  -O2 -m486 -fno-strength-reduce -g -c blkest.f -o blkest.o
> make: g77: Command not found
> make: *** [blkest.o] Error 127
> Must I have a fortran compiler to install R packages?

Yes, if the R package contains fortran code (like this one does),
unless R itself was configure and built using the f2c program. (You
can in principle diddle the configuration so that R INSTALL uses f2c
but I strongly doubt it will be worth the trouble).

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list