Re: rbind invisible return value (PR#343)

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: rbind invisible return value (PR#343)
From: Peter Dalgaard BSA (p.dalgaard@biostat.ku.dk)
Date: Thu 25 Nov 1999 - 20:59:27 EST


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


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:10 EST