From p.dalgaard@biostat.ku.dk  Thu Nov 25 10:59:27 1999
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 25 Nov 1999 11:59:27 +0100
Subject: rbind invisible return value (PR#343)
In-Reply-To: thomas@biostat.washington.edu's message of "Wed, 24 Nov 1999 20:34:16 +0100 (MET)"
References: <199911241934.UAA09286@pubhealth.ku.dk>
Message-ID: <x27lj6rg4w.fsf@blueberry.kubism.ku.dk>

thomas@biostat.washington.edu writes:

> An assignment in an argument sometimes makes rbind return invisibly
> 
> > rbind(diag(3),a<-1:3)
> > print(rbind(diag(3),a<-1:3))
>      [,1] [,2] [,3]
> [1,]    1    0    0
> [2,]    0    1    0
> [3,]    0    0    1
> [4,]    1    2    3

Ditto with cbind(). Not new, 0.65.1 does likewise.

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


rbind invisible return value (PR#343)
Peter Dalgaard BSA