From p.dalgaard@biostat.ku.dk  Wed May 30 20:31:45 2001
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 30 May 2001 21:31:45 +0200
Subject: [Rd] zero-extent matrices (PR#958)
In-Reply-To: tlumley@u.washington.edu's message of "Wed, 30 May 2001 21:00:11 +0200 (MET DST)"
References: <200105301900.VAA10463@pubhealth.ku.dk>
Message-ID: <x24ru2y6ou.fsf@blueberry.kubism.ku.dk>

tlumley@u.washington.edu writes:

> In 1.2.3
>   matrix(nrow=10,ncol=0)%*%numeric(0)
> returns a 10x1 matrix of 0s
> 
> In todays 1.3 it returns a 10x1 matrix of miscellaneous junk.
> 
> While both are probably wrong the latter is causing problems for survival.

Acutally, I'd say that the 1.2.3 version is correct (sums over empty
sets being zero is a standard convention).

Hmm, 1.3.0 as of yesterday gives 10 zeros for me as does the one
updated and compiled about 18:00 CET...
-- 
   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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] zero-extent matrices (PR#958)
Peter Dalgaard BSA