seg.fault: 'print(aggregate(),n)' (digits= omitted) (PR#330)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
20 Nov 1999 21:33:34 +0100


rnassar@duke.edu writes:

> Dear Sirs,
> 
> I had the following (reproducible) problem:
> 
> g1 <- gl(3,4)
> g2 <- gl(2,2,12)
> y <- rnorm(12)
> AA <- aggregate(y,list(g1,g2),mean)
> 
> print(AA,2)                       # I should've said 'digits=2' but ... 
> Segmentation fault (core dumped)

Still there in 0.90.0 pre, looks easy to fix. Thanks for pointing it out.

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