David.Meyer@ci.tuwien.ac.at
2001-Jan-10 12:25 UTC
[Rd] changing dimnames of a matrix with rownames/colnames causes (PR#809)
When I try to change the dimnames of a matrix x with named dimensions Y X 1 2 3 4 2 1 1 1 1 3 1 1 1 1 4 1 1 1 1 for example with: rownames (x) <- c(...), the dimension names (X and Y) are deleted, but when I use dimnames(x)[[1]] <- c(...) they are left unchanged. Is this intentional ? I'm using R 1.2.0 on debian linux.> version_ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 2.0 year 2000 month 12 day 15 language R -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._