From dmurdoch@pair.com  Fri Jan 18 13:21:52 2002
From: dmurdoch@pair.com (Duncan Murdoch)
Date: Fri, 18 Jan 2002 08:21:52 -0500
Subject: [Rd] Should dots be used in generic functions?
Message-ID: <5q7g4ukk1e73c3tabs3cethicncefap72k@4ax.com>

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


[Rd] Should dots be used in generic functions?
Duncan Murdoch