[Rd] Overloading methods in R

Ali - saveez at hotmail.com
Thu Apr 21 21:06:25 CEST 2005


>
>On Thu, 21 Apr 2005, Ali - wrote:
> > >However, in S3 you can create a "generic" generic function by not
> > >specifying
> > >arguments but only '...' - this way any methods can take any arguments 
>(and
> > >you don't force your argument names onto other developer's).
> > So why did they go a step backward in S4 and remov this feature?
>
>I might be misunderstanding what you're getting at here, but if indeed I
>do understand this correctly then not only is it still possible in S4 but
>I was tought that it was generally considered Good Behavior.
>

I guess the context says you cannot have something like this in S4:

>setGeneric("testFun", function(...)
+ standardGeneric("testFun"))



More information about the R-devel mailing list