From maechler at stat.math.ethz.ch  Wed Dec  5 09:02:37 2007
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Wed, 5 Dec 2007 09:02:37 +0100
Subject: [Rd] [R] color palette from red to blue passing white (shifted
	from R-help)
In-Reply-To: <4755B026.6020406@stat.auckland.ac.nz>
References: <644e1f320712031752k27ac3b14l9b5a4e6e075b799e@mail.gmail.com>
	<Pine.LNX.4.44.0712040504230.6948-100000@disco.wu-wien.ac.at>
	<18261.5726.555747.583528@stat.math.ethz.ch>
	<4755B026.6020406@stat.auckland.ac.nz>
Message-ID: <18262.23325.226710.391865@stat.math.ethz.ch>

>>>>> "Paul" == Paul Murrell <p.murrell at auckland.ac.nz>
>>>>>     on Wed, 05 Dec 2007 08:53:10 +1300 writes:

    Paul> Hi
    Paul> Achim and I have been looking at tidying up the colorspace package (see
    Paul> http://r-forge.r-project.org/projects/colorspace/) to fix a few
    Paul> inaccuracies, PLUS the possibility of declaring R's internal color space
    Paul> to be sRGB.

    Paul> I have started an RFC on the r-developer site
    Paul> (http://developer.r-project.org/sRGB-RFC.html) to discuss some possible
    Paul> changes to the core engine and add-on packages.

    Paul> One of the issues will be consolidating some of the double-ups (e.g.,
    Paul> hcl() in base and the counterpart in package 'colorspace';  I did not
    Paul> even know about convertColor()!).

    Paul> Ideally, we would have only one copy of the conversions between the
    Paul> various colorspaces (probably C code, then the various R-level front
    Paul> ends can all just run off the same internal code).

    Paul> A lot of these conversions exist now in 'colorspace', but as Thomas
    Paul> pointed out, the S4-ness of 'colorspace' is a problem for making these
    Paul> conversions part of base R.

Hmm, I think we are currently only required to keep 'base' not
dependent on 'methods'.
Why should 'grDevices' or new "standard R" package not be
dependent on 'methods' ?
Many of us would like to see S4 been used much more widely.

Martin



[Rd] [R] color palette from red to blue passing white (shifted from R-help)
Martin Maechler