From jens.oehlschlaegel-akiyoshi@mdfactory.de  Mon Feb 28 14:12:42 2000
From: jens.oehlschlaegel-akiyoshi@mdfactory.de (=?iso-8859-1?Q?Jens_Oehlschl=E4gel-Akiyoshi?=)
Date: Mon, 28 Feb 2000 15:12:42 +0100
Subject: [Rd] pre summary: mapping of colornames into hsv?
In-Reply-To: <200002281102.LAA22096@toucan.stats.ox.ac.uk>
Message-ID: <000801bf81f5$e18d55d0$a9021aac@joelschlaegel>



etc/colors.big doesn't do the job currently, as:

  colors.big maps 455 names to rgb in S syntax
  rgb.txt maps 657 names to rgb in C syntax, but unlike colors() it has
mixed upper and lower case

The C source has the information twice
  rgb.c maps 657 names to rgb (mixed upper and lower case)
  graphics.c maps 657 names tp colorstrings (lower case only)

internal name2col() and R colors() accesses those in graphics.c

I tend to create a R representation which copies the info from graphics.c,
unless someone plans to export
internal name2col() to become an official R function, which of course would
be a less redundant solution.

Regards


Jens


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] pre summary: mapping of colornames into hsv?
=?iso-8859-1?Q?Jens_Oehlschl=E4gel-Akiyoshi?=