Skip to content
Back to formatted view

Raw Message

Message-ID: <BAY17-F25B1871E5EAA74B9424957D12C0@phx.gbl>
Date: 2005-04-21T21:06:35Z
From: Ali -
Subject: Overloading methods in R
In-Reply-To: <Pine.SOL.4.20.0504211430410.24738-100000@santiam.dfci.harvard.edu>

>
>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"))