[Rd] print() "bug" for arrays with 0 columns

Thomas Lumley thomas@biostat.washington.edu
Wed, 3 May 2000 08:19:19 -0700 (PDT)

On Wed, 3 May 2000, Martin Maechler wrote:

> The "bug" is that it doesn't print anything;
> one might argue that this is not a bug, since such an array *is* empty, 
> but I don't buy that argument.

I think printing a message makes sense. The current behaviour of
zero-extent arrays and matrices is based on making the fewest possible
changes rather than on any particular user-level optimality criterion.


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

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