Skip to content
Back to formatted view

Raw Message

Message-ID: <pqagdusnjm16vlm3k40smfnlaok013e04m@4ax.com>
Date: 2002-05-07T19:33:02Z
From: Duncan Murdoch
Subject: Generic/method consistency in print and summary

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