[R] survexp with large dataframes

2011-10-03 Thread Terry Therneau
I've re-looked at survexp with the question of efficiency. As it stands, the code will have 3-4 (I think it's 4) active copies of the X matrix at one point; this is likely the reason it takes so much memory when you have a large data set. Some of this is history; key parts of the code were

[R] survexp with large dataframes

2011-09-28 Thread Mike Harwood
Hello, and thank you in advance. I would like to capture the expected survival from a coxph model for subjects in an observational study with recurrent events, but the survexp statement is failing due to memory. I am using R version 2.13.1 (2011-07-08) on Windows XP. My objective is to plot the