[Rd] trace with reference class
jmc at r-project.org
Wed May 1 17:43:50 CEST 2013
No intended change. The trace method was not updated when reference
class generators became functions. Should be fixed now in r-devel and
3.0.0 patched (rev 62699).
Thanks for the catch.
On 4/29/13 11:30 PM, Kohske Takahashi wrote:
> 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 for reference class
> $trace tries to embed the trace in the generator object (instead of
> the generated object).
> Has this functionality been removed?
> Kohske Takahashi <takahashi.kohske at gmail.com>
> Assistant Professor,
> Research Center for Advanced Science and Technology,
> The University of Tokyo, Japan.
> R-devel at r-project.org mailing list
More information about the R-devel