[Rd] Generics in base with no ...

From: Herve Pages <hpages_at_fhcrc.org>
Date: Thu, 12 Jul 2007 15:17:29 -0700


Some generics in base that don't have the ... extra argument: rev(), t(), scale() and unlist(). Is there any plan to make these more reusable? I used to be interested in having a rev() method for my objects, but since I needed an extra argument for it, then I was forced to create my own generic instead. And because I didn't want to mask base::rev(), I chose another name too. The only advantage of doing this is that the man page for myrev() was more accessible than if I had made a rev() method. But it would be nice to make the rev() generic more reusable anyway, just because the name "rev" itself is good and easy to remember.



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 12 Jul 2007 - 22:22:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 13 Jul 2007 - 01:36:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.