From takahashi.kohske at gmail.com  Tue Apr 30 08:30:56 2013
From: takahashi.kohske at gmail.com (Kohske Takahashi)
Date: Tue, 30 Apr 2013 15:30:56 +0900
Subject: [Rd] trace with reference class
Message-ID: <CAC-jPZpk4NZrrTOReeHXOTZOFxD7sC=8iDAunWeoRTzqYwv8cg@mail.gmail.com>

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 for reference class
"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.kohske at gmail.com>

Assistant Professor,
Research Center for Advanced Science and Technology,
The University of  Tokyo, Japan.
http://www.fennel.rcast.u-tokyo.ac.jp/profilee_ktakahashi.html



[Rd] trace with reference class
Kohske Takahashi