[Rd] Inherited S4 methods

cstrato cstrato at aon.at
Thu Mar 15 22:58:41 CET 2007


Dear all,

Recently, there was a question to use the same method for more than one 
class:
https://stat.ethz.ch/pipermail/r-devel/2007-March/044809.html

I have a variation of this question:
Is it possible to use the same function name, e.g. "myfunction" in both, 
an S4
baseClass and derivedClass. The method "myfunction" in derivedCalss should
extend the functionality defined in baseClass, analogously to C++ methods.
If this is possible, does there exist an example?

Best regards
Christian
_._._._._._._._._._._._._._._._
C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
V.i.e.n.n.a       A.u.s.t.r.i.a
_._._._._._._._._._._._._._._._



More information about the R-devel mailing list