[R] built in colors

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Jan 19 20:53:51 CET 2001


On Fri, 19 Jan 2001, Don Wingate wrote:

> Hello R Users,
>
> Using: Windows 2000, R version 1.2.0
>
> In the installed directory "etc" there is a file named rgb.txt containing
> definitions of [all?] the built in colors. I tried to edit this file to add
> a color as well as change an existing color. My efforts have had no effect.
> Is this the expected behavior? Is it possible to change or add to the
> built-in colors?

Yes, by re-compiling. The file to be altered is
src/gnuwin32/graphapp/rgb.c.

You can use RGB specifications, just not other names. See ?colors.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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