[R] Problem with installing survival5

Richard A. Bilonick rab at nauticom.net
Fri Nov 5 21:52:00 CET 1999


Hi. I'm using 0.65.1 under Linux (Red Hat 6.0). I installed splines and then
survival5. I  used library(survival) and was able to create obs using Surv. But I
get the following error message when trying to use survfit:

 fit <- survfit(obs~1)
Error in .C("survfit2", as.integer(n), y = y, as.integer(ny),
as.double(casewt[sorted]),  : C/Fortran function name not in load table

Any ideas on how to fix this?

I went back to look at the install and noticed the error shown below (marked with
<------):

[root at rbilonick athome]#  R INSTALL survival5
Installing package `survival5' ...
 libs
gcc -shared  -o /usr/lib/R/library/survival5/libs/survival5.so agexact.o agfit2.o
agfit4.o agfit_null.o agmart.o agscore.o agsurv1.o agsurv2.o agsurv3.o chinv2.o
chinv3.o cholesky2.o cholesky3.o chsolve2.o chsolve3.o cox_Rcallback.o coxdetail.o
coxfit2.o coxfit4.o coxmart.o coxph_wtest.o coxscho.o coxscore.o dmatrix.o
doloop.o pyears1.o pyears2.o pyears3.o pystep.o surv_callback.o survdiff2.o
survfit2.o survindex2.o survreg2.o survreg3.o survreg4.o survreg5.o
-L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -L/usr/i386-redhat-linux/lib
-lg2c -lm
/usr/bin/ld: cannot open -lg2c: No such file or directory
collect2: ld returned 1 exit status
make: *** [/usr/lib/R/library/survival5/libs/survival5.so] Error 1
<------------------
 R
 data
 help
 >>> Building/Updating help pages for package `survival5'
     Formats: text html latex example
 DONE (survival5)

DONE (INSTALL)


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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