When I run your code, I have no problem at all, could you please give us some more info about what system you are running on, OS, packages loaded, .....
Bart Trev101 wrote: > > Hey, > > I am just starting to learn R now and I typed in this simple survival > program: > > library(survival) > t <- c(10,13,18,19,23,30,36,38,54,56,59,75,93,97,104,107,107,107) > c <- c(1,0,0,1,0,1,1,0,0,0,1,1,1,1,0,1,0,0) > data <- Surv(t,c) > km <- survfit(data) > summary(km) > Call: survfit(formula = data) > > but everytime I run it I get this error: > > Error in eval.with.vis(expr, envir, enclos) : object "Call" not found > > Can someone please help me out I really have no idea wat I have done > wrong. I have installed the survival library is there maybe some other > library I need to install? > -- View this message in context: http://www.nabble.com/Trying-to-run-simple-survival-program-in-R-but-does-not-work-tp18865807p18866431.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.