[R] Colour to RGB value?

Duncan Murdoch murdoch at stats.uwo.ca
Fri Dec 15 21:21:56 CET 2000

There are a lot of ways to specify colours in R plot functions (number
from the palette, by name, etc.).  I'd like to pass a colour from an R
function to an external function, and I'd like it to have the same
flexibility.  To avoid having to interpret all possible colour
specifications myself, I need a function to convert a general colour
specification into a standard form (e.g. r,g,b values).  

Is there such a thing somewhere? 

Duncan Murdoch

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