Thomas Lumley <[EMAIL PROTECTED]> writes:

> I'm having trouble using lattice and Sweave together.
> 
> An example of the trouble is the chunk
> 
> <<fig=true, eps=false>>=
> library(nlme)
> data(Orthodont)
> plot(Orthodont)
> @

I have a big sign next to my monitor saying 

 When using Sweave you _must_ print a lattice plot.

because I have made this mistake so many times.  In my rush to finish
the slides for a short course that I am teaching today and tomorrow I
forgot this and contacted Deepayan, who is travelling in India right
now, in a panic. He calmly told me "you forgot to print".

It will work if you use

 print(plot(Orthodont))

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to