rbind(NULL, matrix("a", 5,3))

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
24 Jun 1998 23:46:01 +0200


Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:

> 
> I'm get the following anti social behavior from R 0.62.1
> 
> Paul
> _____
> R : Copyright 1998, The R Development Core Team
> Version 0.62.1  (June 15, 1998)
> ...
> > rbind(NULL, matrix("a", 5,3))
> Arithmetic Exception - core dumped
> $ $

Same thing happens here. What's that supposed to do anyway? 
Should be fixable with a bit of defensive coding. (The one good thing
about core dumps is that it is fairly easily to pinpoint where the
problem is...)

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