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

Jonathan Rougier J.C.Rougier@durham.ac.uk
Wed, 3 May 2000 11:53:41 +0100 (BST)


On Wed, 3 May 2000, Martin Maechler wrote:

> What should we be doing instead of the current behavior?
> Typing a "sentence" ---as S+5 does for matrices--- seems quite reasonable;
> I would want to do this in *all* cases where one of the dimensions is 0.

I think this would be a good idea: I feel the current behaviour is
inconsistent.  Trying to standardise to anything else is likely to lead to
trouble.  In particular, attempting to duplicate the current behaviour for
0 rows in matrices will definitely not scale well to arrays.  Jonathan.

Jonathan Rougier                       Science Laboratories
Department of Mathematical Sciences    South Road
University of Durham                   Durham DH1 3LE
http://www.maths.dur.ac.uk/stats/people/jcr/jcr.html

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