From thomas@biostat.washington.edu  Tue Nov 23 18:14:23 1999
From: thomas@biostat.washington.edu (thomas@biostat.washington.edu)
Date: Tue, 23 Nov 1999 19:14:23 +0100 (MET)
Subject: cbind problem (PR#339)
Message-ID: <199911231814.TAA27174@pubhealth.ku.dk>


Probably related to the rbind problem:

> mm<-matrix(0,2,2)
> nn<-c(1,2)
> cbind(mm,nn)
       nn  
[1,] 0  0 1
[2,] 0  0 2
> dimnames(cbind(mm,nn))
[[1]]
NULL

[[2]]
[1] ""   "nn" ""  

The column names are wrong (though at least no segfault this time)


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle




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


cbind problem (PR#339)
thomas@biostat.washington.edu