From p.dalgaard@biostat.ku.dk  Mon Apr 23 23:12:21 2001
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 24 Apr 2001 00:12:21 +0200
Subject: [Rd] several bugs (PR#918) lists and matrices
In-Reply-To: Thomas Lumley's message of "Mon, 23 Apr 2001 12:54:17 -0700 (PDT)"
References: <Pine.A41.4.33.0104231243060.125502-100000@homer34.u.washington.edu>
Message-ID: <x2ae57mfju.fsf@blueberry.kubism.ku.dk>

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


[Rd] several bugs (PR#918) lists and matrices
Peter Dalgaard BSA