[Rd] pie() bug in r59963

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jul 26 07:21:54 CEST 2012


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

Thanks for commenting.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list