Re: [Rd] Evaluation without using the parent frame

2012-05-16 Thread Duncan Murdoch
On 12-05-16 4:59 PM, Terry Therneau wrote: I've been tracking down a survival problem from R-help today. A short version of the primary issue is reconstructed by the following simple example: library(survival) attach(lung) fit<- coxph(Surv(time, status) ~ log(age)) predict(fit, newdata=data.fra

Re: [Rd] Package does not have a NAMESPACE and should be re-installed

2012-05-16 Thread walcotteric
jthetzel wrote > > 1) Does traceback() give any hints as to where the "setTime" error is > coming from? > > 2) Zipping data sets in packages was made defunct in R 2.13.0. However, I > believe R 2.15 will still load data sets that were zipped using older > versions of R, albeit with the warning

[Rd] Evaluation without using the parent frame

2012-05-16 Thread Terry Therneau
I've been tracking down a survival problem from R-help today. A short version of the primary issue is reconstructed by the following simple example: library(survival) attach(lung) fit <- coxph(Surv(time, status) ~ log(age)) predict(fit, newdata=data.frame(abe=45)) Note the typo in the last li

[Rd] Ghost RefClasses

2012-05-16 Thread Tyler Pirtle
Hi there, this seems weird to me. Perhaps someone can explain whats going on? I'm creating a RefClass, then unloading the methods package, then re-loading it, declaring a different refclass with the same name, loading that one, but i'm getting instances of the previously defined class. $ R R ve