[Rd] args() and body() equivalents for S4 methods?

Vinh Nguyen vqnguyen at uci.edu
Wed Oct 6 02:21:20 CEST 2010

On Tue, Oct 5, 2010 at 4:45 PM, Thomas Lumley <tlumley at uw.edu> wrote:
> You could define
> args4<-function(generic, signature) args(getMethod(generic,signature))
> and
> body4<-function(generic, signature) body(getMethod(generic,signature))
> or use selectMethod() instead of getMethod() if you want to find
> inherited methods.
>   -thomas

Thanks Professor Lumley, this is sufficient.

More information about the R-devel mailing list