[Rd] untrace() failing {when "methods" are active} (PR#7301)

maechler at stat.math.ethz.ch maechler at stat.math.ethz.ch
Thu Oct 21 18:12:40 CEST 2004


This happens in R-2.0.0 (or R-patched or R-devel of this night):

> trace(axis)
> untrace(axis)
Error in .assignOverBinding(what, newFun, whereF, global) : 
	Object "newFun" not found

> traceback()
6: .assignOverBinding(what, newFun, whereF, global)
5: methods::.TraceWithMethods(axis, where = <environment>, untrace = TRUE)
4: eval(expr, envir, enclos)
3: eval(expr, p)
2: eval.parent(call)
1: untrace(axis)

---
I've quickly tried to run R without "methods" and there,
untrace() doesn't fail {inside untrace(), the other if()-branch
is used}.

Martin



More information about the R-devel mailing list