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

From: <maechler_at_stat.math.ethz.ch>
Date: Fri 22 Oct 2004 - 02:12:40 EST


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

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri Oct 22 06:22:38 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:23 EST