Message-ID: <000601c546a7$e624c7a0$ab0040d5@hblaptop>
Date: 2005-04-21T21:25:53Z
From: Henrik Bengtsson
Subject: Overloading methods in R
In-Reply-To: <4267FACC.9050001@blackmesacapital.com>
> -----Original Message-----
> From: r-devel-bounces@stat.math.ethz.ch
> [mailto:r-devel-bounces@stat.math.ethz.ch] On Behalf Of Tony Plate
> Sent: Thursday, April 21, 2005 9:11 PM
> To: Ali -
> Cc: hb@maths.lth.se; r-devel@stat.math.ethz.ch
> Subject: Re: [Rd] Overloading methods in R
>
>
> Ali - wrote:
> > Henrik,
> >
> > [snip]
> >
> > Finally, I remind the package author about the original question:
> >
> > - How to overload methods in classes created by R.oo package? [snip]
>
> Maybe you missed it in the flurry of messages, but did the idea
> suggested by Gabor Grothendick not suit your needs? I don't know the
> R.oo package, but Gabor's idea worked with the S3 class
> system, and just
FYI: R.oo is just defining methods and lets S3/UseMethod do the dispatching.
Cheers
Henrik
> required some easily programmable syntactic processing to
> generate the
> method names. (Basically the idea was that the generic
> function would
> dynamically create a class for its first argument, which consisted of
> the classes of all the arguments appended together. If there
> is little
> inheritance structure, this should work fine.)
>
> cheers,
>
> Tony Plate
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>