> From: Deepayan Sarkar [mailto:deepayan at stat.wisc.edu]
> On Tuesday 16 March 2004 09:52, Liaw, Andy wrote:
> > [Plead to the maintainer of lattice: Is it possible to
> make the theme
> > an option that can be set for the session, not just for the device?]
>
>
> I'm not completely sure if this is what you are looking for,
> but the device
> settings are ultimately determined by trellis.device(), which has a
> 'theme' argument. It essentially has the effect of calling
> lset() with
> that theme immediately after the device is set up. This
> 'theme' argument
> defaults to getOption("lattice.theme"), which you can set to
> modify the
> default behaviour. From ?trellis.device:
>
>
> theme: list of components that change the settings of the device
> opened, or, a function that when called produces
> such a list.
> The function name can be supplied as a quoted string. A
> possible usage is to change the default settings at session
> startup, for example by setting 'options(lattice.theme >
"col.whitebg")'. If 'theme' is a function, it will not be
> supplied any arguments, however, it is guaranteed that a
> device will already be open when it is called, so
> one may use
> '.Device' inside the function to ascertain what device
has
> been opened.
>
>
> If this is indeed what you are looking for, I would
> appreciate hearing
> about any ideas to make this information easier to get at (I
> guess I could
> add a link from ?lset to ?trellis.device for starters).
Hallelujah!! This is it! I just have trouble knowing about new features in
packages that I had some familiarity with (especially those that I've gotten
too used too from my S-PLUS days...). Thanks X 1e6!!
Cheers,
Andy
> Deepayan
>
>
>
>
>
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments,...{{dropped}}