[Rd] col2rgb feature request

Hadley Wickham hadley at rice.edu
Mon Nov 8 14:29:40 CET 2010


Small feature request for col2rgb: could it preserve missing values? Currently:

> col2rgb(NA)
      [,1]
red    255
green  255
blue   255

Which is frustrating when you're working with vectors of colors that
might include transparent colours.

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-devel mailing list