, Kohske Takahashi wrote:
Hi
The final line of the example in ?setRefClass induces an error:
## debugging all objects from class mEdit in method $undo()
mEdit$trace(undo, browser)
Error in envRefInferField(x, what, getClass(class(x)), selfEnv) :
'undo' is not a valid field or method name
refGeneratorSlot
$trace tries to embed the trace in the generator object (instead of
the generated object).
Has this functionality been removed?
best,
kohske
--
Kohske Takahashi takahashi.koh...@gmail.com
Assistant Professor,
Research Center for Advanced Science and Technology,
The University of Tokyo
list_u - function(x) z$a - 1L
Note that the argument name is `x` while you are using `z` inside the function.
I'm not sure if this is the reason, though.
kohske
--
Kohske Takahashi takahashi.koh...@gmail.com
Assistant Professor,
Research Center for Advanced Science and Technology
HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
--
Kohske Takahashi takahashi.koh...@gmail.com
Assistant Professor,
Research Center for Advanced Science and Technology,
The University