[Rd] col2rgb feature request

From: Hadley Wickham <hadley_at_rice.edu>
Date: Mon, 08 Nov 2010 07:29:40 -0600


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/

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon 08 Nov 2010 - 13:35:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 08 Nov 2010 - 15:50:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive