From p.dalgaard@biostat.ku.dk  Wed Sep  1 22:09:33 1999
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 01 Sep 1999 23:09:33 +0200
Subject: diag()
In-Reply-To: Martin Maechler's message of "Wed, 1 Sep 1999 22:13:09 +0200"
References: <Pine.GSO.3.96.990901140456.19209D-100000@laplace> <199909012013.WAA14572@sophie.ethz.ch>
Message-ID: <x2n1v67302.fsf@blueberry.kubism.ku.dk>

Martin Maechler <maechler@stat.math.ethz.ch> writes:

> Your proposal has been (slightly improved) and commited for 0.64.1 
                                                                 ^
Um...

> NEWS has
>      
>     o	diag(x) now keeps names when appropriate and barfs when x is an array.

- unless it's of dimension 2, you mean. But is this really desirable
for the 1d case? diag(array(1:9)) used to work like diag(1:9), but is
now an error. E.g. the output of table() can be a 1d array.

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


diag()
Peter Dalgaard BSA