[R] RFC: default background on lattice plots

Martin Maechler maechler at stat.math.ethz.ch
Mon Mar 13 08:48:54 CET 2006

>>>>> "JohnF" == John Fox <jfox at mcmaster.ca>
>>>>>     on Sat, 11 Mar 2006 13:29:34 -0500 writes:

    JohnF> Dear Deepayan, As you say, it's currently very easy
    JohnF> to change settings (which is what I do routinely),
    JohnF> but since you asked, I much prefer the settings in
    JohnF> canonical.theme("pdf") and therefore would prefer
    JohnF> that the windows() device use these settings as a
    JohnF> default (independent of the printing issue).

    JohnF> Regards, and thanks for the lattice package,

indeed, thanks a lot, Deepayan!

I think it would make much sense to use the *same*  canonical.theme
for all interactive default devices.
This may be important in teaching, packages, user-written
functions which often are all meant to be used interactively; I
think it would be painful if students in my class looked at
quite differently colored pictures depending on if they are
using MacOS X, Linux or Windows.

Hence, if you change the setting for windows(), I think you
should also do so for  x11() and quartz().

Martin Maechler,
ETH Zurich

More information about the R-help mailing list