Skip to content

pie() bug in r59963

2 messages · Hiroyuki Kawakatsu, Brian Ripley

#
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.
#
On 26/07/2012 00:37, Hiroyuki Kawakatsu wrote:
Yes, that was an unintended change, but this is work in progress (on 
rep_ and it has gone again.

Thanks for commenting.