[Rd] New generic functions in "R base" {was `truncate'}

Prof Brian Ripley ripley@stats.ox.ac.uk
Wed, 23 May 2001 20:33:42 +0100 (BST)


On Wed, 23 May 2001, Gregory Warnes wrote:

> 1) What are the issues with making _existing_ functions in base into
> generics?

There are some performance issues (not necessarily relevant here). Last
time I looked hard at this method dispatch was taking ca 0.2 secs (not on
my fastest machines ....), and some generics turn up rather high on
profiling list rather often.

The other issue I see is the argument list for the generic, given that
all method ought to agree with the generic (at least aesthetically).

[...]

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._