Full_Name: Victor Moreno
Version: 2.2.0
OS: windows
Submission from: (NULL) (213.151.99.160)


summary of an object class Surv (package survival) hangs and closes R 2.2.0

I would like to have Surv objects in a data frame to build models easier:

t<-rexp(100)
s<-rbinom(100,1,.3)
surv<-Surv(t,s)
x1<-rnorm(100,10,2)
x2<-rnorm(100,10,2)
dat<-data.frame(surv,x1,x2)
coxph(surv~.,data=dat)

so far no problems, but R crashes if I write

summary(dat)

I checked that the problem is in 
summary(surv)

Tested on previous versions of R (1.9.0, 2.1.0) in a friend's computer) gives no
results, but doesn't crash R

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to