I'm using lattice 0.14. As of version 0.5 the Changes says there is a global list called 'lattice.theme'. How can I access this? I have tried many ways, including options(lattice.theme) lattice.getOption("lattice.theme") get("lattice.theme", envir = .LatticeEnv) getFromNamespace("lattice.theme", "lattice") getAnywhere("lattice.theme") (both before and after a call to trellis.device) Thanks, Ben
Try: lattice.theme <- get("lattice.theme", envir = lattice:::.LatticeEnv) On 1/30/07, Benjamin Tyner <btyner at stat.purdue.edu> wrote:> I'm using lattice 0.14. As of version 0.5 the Changes says there is a > global list called 'lattice.theme'. How can I access this? I have tried > many ways, including > > options(lattice.theme) > lattice.getOption("lattice.theme") > get("lattice.theme", envir = .LatticeEnv) > getFromNamespace("lattice.theme", "lattice") > getAnywhere("lattice.theme") > > (both before and after a call to trellis.device) > > Thanks, > Ben > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Thanks...what I really want is to be able to access the value of the 'color' argument the user gave in their call to trellis.device(). I mistakenly assumed it would be stored in 'lattice.theme' but this does not seem to be the case? Ben
Seemingly Similar Threads
- Substituting functions in package - Lattice
- custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)
- lattice: two grouping variables, one controls 'col', the other 'pch'
- Build error with last R-devel tarball
- getting panel.loess to use updated version of loess.smooth