R-beta: survival4

Goran Brostrom (gb@stat.umu.se)
Tue, 27 Jan 1998 09:07:12 +0100 (MET)

Date: Tue, 27 Jan 1998 09:07:12 +0100 (MET)
From: Goran Brostrom <gb@stat.umu.se>
To: r-help@stat.math.ethz.ch
Subject: R-beta: survival4
In-Reply-To: <6rwwfnqnit.fsf@verdi.stat.wisc.edu>

I have installed R (latest) on two machines running RedHat Linux,
Versions 4.2 and 5.0, respectively. In both cases I get the 
following error: Starting R in an empty (ie, no .RData file) folder
is fine, coxph works, but if I quit, save the work sheet and 
start R again I get a "not in load table" error. See below.
(On my third installation, Solaris2.4, coxph still bombs completely,
ld.so.1: /export/home1/local/R-0.61.1/bin/R.binary: fatal: relocation
error: symbol not found: S_alloc: referenced in
> library(survival4)
Autoloading required package: splines 
> ls()
> z_c(1,0,1)
> tid_c(1,2,3)
> ev_c(1,1,1)
> coxph(Surv(tid, ev) ~ z)
coxph(formula = Surv(tid, ev) ~ z)

    coef exp(coef) se(coef)      z    p
z -0.347     0.707     1.44 -0.241 0.81

Likelihood ratio test=0.06  on 1 df, p=0.81  n= 3 
> q()
Save workspace image? [y/n/c]: y
[gb@lasker R]$ R
[Previously saved workspace restored]

> library(survival4)
Autoloading required package: splines 
> coxph(Surv(tid, ev) ~ z)
Error in .C("coxfit2", iter = as.integer(iter.max), 
as.integer(n), as.integer(nvar),  : C/Fortran function not in load table

I may add that I install the survival ansd spline packages on the fly
when I install R, that is, I unpack them in $(RHOME)/src/library, then
in $(RHOME) I do the usual ./configure, make, etc, and everything
gets installed at once. Is this a correct way of doing it?

Goran Brostrom                         phone : +46 90 7865223
Department of Statistics                              7865213 (secr)
Umea University                        fax   :        7866614
S-90187 Umea, Sweden                   e-mail: gb@stat.umu.se

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@stat.math.ethz.ch