several bugs (PR#918) lists and matrices
Thomas Lumley <tlumley@u.washington.edu> 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 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) 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: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._