From pgilbert@bank-banque-canada.ca  Wed Sep  9 16:57:25 1998
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Wed, 9 Sep 1998 11:57:25 -0400
Subject: diag() losing dimnames
References: <Pine.NEB.4.02.9809090907200.21955-100000@mathfs.math.montana.edu>
Message-ID: <98Sep9.120938edt.13442@mailgate.bank-banque-canada.ca>

>Names are only well-defined if rows and cols have the same labels.

It probably does not make sense for diag to keep dimnames, but either way, this
is wrong
> diag(x)
  a NA NA
  1   5    9

Paul Gilbert

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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() losing dimnames
Paul Gilbert