[R] white in the default palette

Paul Murrell p.murrell at auckland.ac.nz
Wed May 29 01:00:26 CEST 2002


> [I'd already sent this message earlier (Apr 6) but as I had no response
> and I still see that it is the case in R1.5 I thought I'd try again]
> I recently encountered a problem (actually missed some data) because
> "white" is one of colours in the "default" palette and that does not
> show up to well on my transparent (on white background). Of course it is
> easily fixed but I think white should not be a default colour.
> > palette("default")
> > palette()
> [1] "black" "red" "green3" "blue" "cyan" "magenta" "yellow"
> [8] "white"
> > par()$bg
> [1] "transparent"

Apologies for not responding to your first email on this topic.

I think there is fairly general agreement that the default colour
palette that R provides is not terribly clever, and having "white" as
one of the defaults is possibly the least clever part :)

We are currently discussing the possibility of providing some more
sensible default palettes, but these are a little way off yet.  

In the meantime, are there any objections to changing "white" to "grey"
in the default palette?

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list