From ripley@stats.ox.ac.uk  Wed May 23 20:33:42 2001
From: ripley@stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 23 May 2001 20:33:42 +0100 (BST)
Subject: [Rd] New generic functions in "R base" {was `truncate'}
In-Reply-To: <Pine.LNX.3.96.1010523203540.2129A-500000@luthien.ci.tuwien.ac.at>
Message-ID: <Pine.LNX.4.21.0105232030020.4905-100000@localhost>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


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