[Rd] pie() bug in r59963

From: Hiroyuki Kawakatsu <hkawakat_at_gmail.com>
Date: Thu, 26 Jul 2012 00:37:02 +0100


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
______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 25 Jul 2012 - 23:40:18 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 26 Jul 2012 - 11:40:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive