[Rd] pie() bug in r59963

Hiroyuki Kawakatsu hkawakat at gmail.com
Thu Jul 26 01:37:02 CEST 2012


hi,

there appears to be a bug in r-devel (r59963)
src/library/graphics/R/pie.R, line 62
        P <- t2xy(seq.int(x[i], x[i + 1], n))
meant to be
        P <- t2xy(seq.int(x[i], x[i + 1], length.out=n))
?
discovered when running demo(graphics). simpler example
is

pie(rep(1, 3), col=rainbow(3), radius=0.9)

h.
-- 
+---
| Hiroyuki Kawakatsu
| Business School, Dublin City University
| Dublin 9, Ireland. Tel +353 (0)1 700 7496



More information about the R-devel mailing list