[Rd] Generic/method consistency in print and summary

Duncan Murdoch murdoch@stats.uwo.ca
Tue, 07 May 2002 15:33:02 -0400


In R 1.5.0 (and earlier):

 > print
 function (x, ...) 
 UseMethod("print")
 > summary
 function (object, ...) 
 UseMethod("summary")

Is there a reason for this inconsistency in the name of the object?
It makes a single help file for both functions look ugly, because it
has to document both "x" and "object", which are really the same
thing.

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