[R] Grid gpar(col=NULL)

Uwe Ligges ligges at statistik.uni-dortmund.de
Sun May 4 16:22:06 CEST 2003

Damon Wischik wrote:
> I have found that gpar(col=NULL) doesn't behave as I expect it to. Is this
> due to a misconception on my part, or a bug?
 > library(grid)
> grid.newpage()
> grid.circle(gp=gpar(fill="yellow",col=NULL))
> # Draws a yellow circle with no border, as it should.
> # But if you resize the graphics window,
> # the circle acquires a black border.
> I am running Rgui for R 1.7.0 on Windows XP.

It's a bug (at least on Windows, it works on X11).

Uwe Ligges

> Damon Wischik.
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

More information about the R-help mailing list