From thomas@biostat.washington.edu  Wed May  3 16:19:19 2000
From: thomas@biostat.washington.edu (Thomas Lumley)
Date: Wed, 3 May 2000 08:19:19 -0700 (PDT)
Subject: [Rd] print() "bug" for arrays with 0 columns
In-Reply-To: <14607.65111.375233.678442@lynne.ethz.ch>
Message-ID: <Pine.GSO.4.21.0005030816530.3813-100000@mail.biostat.washington.edu>

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

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


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