[Rd] lattice and Sweave
tlumley at u.washington.edu
Thu Jun 19 12:58:27 MEST 2003
I'm having trouble using lattice and Sweave together.
An example of the trouble is the chunk
This gives a warning
No Active Device, using default values in: trellis.par.get("add.text")
and creates a pdf file with no pages.
I think this is related to the fact that a figure chunk is evaluated
twice, once with no device open. Possibly related anomalies include the
fact that you end up with a theme set for the null device:
 "null device" "postscript" "pdf"
which doesn't look right.
works fine, so I think the problem is related to using trellis.par.get
before setting a trellis device.
More information about the R-devel