[R] is this a bug? problem saving and restoring coxph objects
thomas at biostat.washington.edu
Sat Mar 25 18:34:39 CET 2000
On 25 Mar 2000, Peter Dalgaard BSA wrote:
> Ramon Diaz-Uriarte <rdiazuri at students.wisc.edu> writes:
> > I am using R 1.0.0 on Linux, and I am running into a problem with coxph objects
> > (library survival5).
> > If I fit a model that includes a frailty term with sparse=F (e.g
> > my.model<-coxph(Surv(t,censor)~trt+frailty(id,sparse=F))),
> > when I try to save all the objects (e.g., save.image()) I get the error:
> It certainly quacks like a bug and walks like a bug...
> Does your example work (or rather: not work) with any old values of
> the variables t, censor, trt and id? If not could you provide us with
> a set of values that provokes the crash on your machine?
An example on my machine is
rfit2a <- survreg(Surv(time, status) ~ rx + frailty(litter,df =
13, sparse = T), data = rats)
so it doesn't even require sparse=F. It doesn't seem to happen with
frailty.gaussian, but I can't be sure since it doesn't happen with all
Assistant Professor, Biostatistics
University of Washington, Seattle
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