[Rd] Overloading methods in R
Henrik Bengtsson
hb at maths.lth.se
Thu Apr 21 21:25:36 CEST 2005
> -----Original Message-----
> From: r-devel-bounces at stat.math.ethz.ch
> [mailto:r-devel-bounces at stat.math.ethz.ch] On Behalf Of Tony Plate
> Sent: Thursday, April 21, 2005 9:11 PM
> To: Ali -
> Cc: hb at maths.lth.se; r-devel at 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 at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
More information about the R-devel
mailing list