From ripley at stats.ox.ac.uk  Thu Jul 26 07:21:54 2012
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 26 Jul 2012 06:21:54 +0100
Subject: [Rd] pie() bug in r59963
In-Reply-To: <CADBEN2zW83A9r0taBDXs-nopdnTJD5J8bP7FGdFgzhw+4=sHkw@mail.gmail.com>
References: <CADBEN2zW83A9r0taBDXs-nopdnTJD5J8bP7FGdFgzhw+4=sHkw@mail.gmail.com>
Message-ID: <5010D3F2.7000504@stats.ox.ac.uk>

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



[Rd] pie() bug in r59963
Prof Brian Ripley