[R] debugging an S4 method

Ernesto Jardim ernesto at ipimar.pt
Sat Sep 4 00:24:42 CEST 2004


On Fri, 2004-09-03 at 21:54, Bickel, David wrote:
> Does anyone know how to use the equivalent of debug() on an S4 method? I would like R to enter the browser not for the generic function, but for the method of the class that I specify.
> 

There's non (that I know) ... you can insert the command "browser()" in
the middle of your code.

Regards

EJ




More information about the R-help mailing list