Hello, The editor of R will close after I enter the following commands. I do not know the reason at all. When does this happen? I would very appreciate it if you could let me know.
Sincerely. ===== gam <- matrix(scan("C:/Documents and Settings/Yoko N/Desktop/R/sas2.txt"), ncol = 29) Read 384132 items Warning message: Replacement length not a multiple of the elements to replace in matrix(...) > time<-gam["V4"] > status<-gam["V5"] > fit<-survfit(Surv(time,status),data = as.data.frame(gam), conf.type="none") [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html