[R] How do you debug() an S4 generic function

Marsland, John John.Marsland at CommerzbankIB.com
Wed Aug 20 11:05:06 CEST 2003


I am trying to use the debug() command on an S4 generic function

> debug(foo)
> foo(x,y)
debugging in: foo(x,y)
debug: standardGeneric("foo")
Browse[1]> n
exiting from: foo(x,y)

What seems to be happening is that debug is operating on the standard
generic not the function with the signature I want - in this case there is
only one signature.

Any suggestions?

John Marsland


********************************************************************** 
This is a commercial communication from Commerzbank AG.\ \ T...{{dropped}}




More information about the R-help mailing list