On 19 Jun 2003, Douglas Bates wrote:
>
> I have a big sign next to my monitor saying
>
> When using Sweave you _must_ print a lattice plot.
>
D'oh. Of course. And the reason the other lattice plots worked is that I
did print them, because they weren't called as methods for plot().
-t
Thomas Lumley <[EMAIL PROTECTED]> writes:
> I'm having trouble using lattice and Sweave together.
>
> An example of the trouble is the chunk
>
> <>=
> library(nlme)
> data(Orthodont)
> plot(Orthodont)
> @
I have a big sign next to my monitor saying
When using Sweave you _must_ print a lattic
I'm having trouble using lattice and Sweave together.
An example of the trouble is the chunk
<>=
library(nlme)
data(Orthodont)
plot(Orthodont)
@
This gives a warning
Warning message:
No Active Device, using default values in: trellis.par.get("add.text")
and creates a pdf file with no pages.