[Rd] Should dots be used in generic functions?

Duncan Murdoch dmurdoch@pair.com
Fri, 18 Jan 2002 08:21:52 -0500


When writing generic functions, should "..." arguments be routinely
used?  

The Writing R Extensions manual says that if it is used, all
descendant methods must use it too.  In most cases in the R library
source, the generic has the dots, often documented as parameters for
the descendants (e.g. profile does this).  In the case of profile, the
descendants declare the dots, but don't make use of them. 

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