From oncley@ucar.edu  Thu Mar 11 16:15:17 1999
From: oncley@ucar.edu (oncley@ucar.edu)
Date: Thu, 11 Mar 1999 17:15:17 +0100
Subject: rbind dimnames with complex (PR#140)
Message-ID: <199903111615.RAA11189@biostat.ku.dk>

Full_Name: Steve Oncley
Version: 0.63.3
OS: Redhat5.2 i386
Submission from: 128.117.80.159 (128.117.80.159)


names (or dimnames) are lost when rbind-ing complex values (but not cbind):

> x <- rep(1+1i,2)
> names(x) <- c("a","b")
> x
   a    b
 1+1i 1+1i
> rbind(x,x)
     [,1] [,2]
[1,] 1+1i 1+1i
[2,] 1+1i 1+1i
> cbind(x,x)
  [,1] [,2]
a 1+1i 1+1i
b 1+1i 1+1i


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


rbind dimnames with complex (PR#140)
oncley@ucar.edu