[R] Overloading %*%

Martin Maechler maechler at stat.math.ethz.ch
Mon Mar 17 08:35:09 CET 2008


>>>>> "SpG" == Spencer Graves <spencer.graves at pdf.com>
>>>>>     on Sun, 16 Mar 2008 19:47:29 -0700 writes:

    SpG> Dear Martin: This is wonderful.  Thank you very much.

    SpG>       It would be a great help if your suggestions
    SpG> could be added to "See Also" and "Examples" for
    SpG> "methods".

?methods has had for years 

  >> Note:
  >> 
  >>      This scheme is called _S3_ (S version 3).  For new projects, it is
  >>      recommended to use the more flexible and robust _S4_ scheme
  >>      provided in the 'methods' package.  Functions can have both S3 and
  >>      S4 methods, and function 'showMethods' will list the S4 methods
  >>      (possibly none).

and so has a link to 'showMethods'.  Since it seems that is overlooked,
I'll add it to 'See also' as well.

Adding an example to 'Examples' is a bit more awkward, 
since it needs to load the methods package;
but I'll add a "don't run" example.

Martin Maechler, ETH Zurich



More information about the R-help mailing list