Re: [Rd] UseMethod infelicity

2006-05-22 Thread Henrik Bengtsson
On 5/20/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > Here are three examples where this matters, and I think the bug is > elsewhere! > > 1) Package accuracy does > > ZeligHooks<-function (...) { > if (exists(".simHooked",envir=.GlobalEnv)) { > return(TRUE) > } > origsim=g

Re: [Rd] UseMethod infelicity

2006-05-20 Thread Prof Brian Ripley
Here are three examples where this matters, and I think the bug is elsewhere! 1) Package accuracy does ZeligHooks<-function (...) { if (exists(".simHooked",envir=.GlobalEnv)) { return(TRUE) } origsim=get("sim",envir=as.environment("package:Zelig")) sim.replacement=functi