From saveez at hotmail.com  Thu Apr 21 21:06:25 2005
From: saveez at hotmail.com (Ali -)
Date: Thu Apr 21 21:06:35 2005
Subject: [Rd] Overloading methods in R
In-Reply-To: <Pine.SOL.4.20.0504211430410.24738-100000@santiam.dfci.harvard.edu>
Message-ID: <BAY17-F25B1871E5EAA74B9424957D12C0@phx.gbl>


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


[Rd] Overloading methods in R
Ali -