From hkawakat at gmail.com  Thu Jul 26 01:37:02 2012
From: hkawakat at gmail.com (Hiroyuki Kawakatsu)
Date: Thu, 26 Jul 2012 00:37:02 +0100
Subject: [Rd] pie() bug in r59963
Message-ID: <CADBEN2zW83A9r0taBDXs-nopdnTJD5J8bP7FGdFgzhw+4=sHkw@mail.gmail.com>

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



[Rd] pie() bug in r59963
Hiroyuki Kawakatsu