[Rd] possible bug in grid

From: Deepayan Sarkar <deepayan.sarkar_at_gmail.com>
Date: Fri 07 Jul 2006 - 18:58:34 GMT


Hi,

?gpar says:

     Specifying the value 'NULL' for a parameter is the same as not
     specifying any value for that parameter, except for 'col' and
     'fill', where 'NULL' indicates not to draw a border or not to fill
     an area (respectively).

However, I get

> library(grid)
> grid.points(gp = gpar(font = 1)) # works fine
> grid.points(gp = gpar(font = 1, fontface = NULL))
Error in validGP(list(...)) : Must specify only one of 'font' and 'fontface'

This happens in 2.3.1 as well as r-devel.

Deepayan



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Jul 08 05:00:47 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 07 Jul 2006 - 20:26:31 GMT.

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