methods: representation gives "unused arguments" on failure (PR#1796)

Prof Brian D Ripley ripley@stats.ox.ac.uk
Wed, 17 Jul 2002 07:48:45 +0100 (BST)


On Tue, 16 Jul 2002, John Chambers wrote:

[...]

> It might be nice to have stop() take multiple arguments in the same
> style as warning() to save  typographical errors for those of us with
> parenthesis-dislexia.  Looks like the same one-line addition,
>       if(nargs() == 0) message <- NULL else message <- paste(...,
> sep="")
> would work in stop().

That discrepancy between warning() and stop() has always puzzled me.
I've just altered stop() to allow multiple arguments.

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