[R] getMethod in a setMethod context

Laurent Gautier laurent at cbs.dtu.dk
Sun Mar 9 14:25:59 CET 2003

Dear List,

I am currently trying to use methods from other classes to avoid
code duplication (my settings are bit complicated, inheritance
is not completely giving what I want). What I would like
to do is to be able to "get the function in the method" to
use it elsewhere...

I tried the following, but apparently it does not work, any pointer ?

  setMethod("f", signature("B"),
            getMethod("f", signature="A"),



More information about the R-help mailing list