Re: [R] S3 generics need identical signature?

From: Gábor Csárdi <>
Date: Mon, 21 Jun 2010 16:23:54 +0200

On Mon, Jun 21, 2010 at 4:17 PM, Duncan Murdoch <> wrote:
> The requirement is that the methods need to have signatures that contain all
> the arguments of the generic.  If the generic includes ..., then the methods
> can add other arguments, too.  So with the generic for plot() as you show
> above, any plot method is required to have x and y as the first two
> arguments, and ... as an argument, but they can have other args too.

This makes sense, and it is actually great! Thanks a lot for the explanation.

Best Regards,


Gabor Csardi <>     UNIL DGM

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 21 Jun 2010 - 14:26:59 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 21 Jun 2010 - 15:50:33 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive