[Rd] several bugs (PR#918) lists and matrices
Peter Dalgaard BSA
24 Apr 2001 00:12:21 +0200
Thomas Lumley <email@example.com> writes:
> This is a more difficult question. You can't put a list into a matrix.
> Matrices handle homogenous data; they are vectors with a dimension
> attribute. Lists with an arbitrary dimension attribute are, as Rob
> pointed out, an unimplemented bug.
Ummm. I'd have to say that it is an implemented bug if a bug at all.
tapply() does this all the time (although most often by accident), and
is even documented to do so. If one can have a list with a dim(), not
being able to index such a beast does look like a bug to me...
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (firstname.lastname@example.org) FAX: (+45) 35327907
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: email@example.com