On Thu, Apr 07, 2005 at 01:24:42PM +0200, Christoph Lehmann wrote:
> \begin{figure}[H]
>   \begin{center}
> <<echo=FALSE, fig=TRUE, height=5, width=10>>=
> lset(col.whitebg())
> bwplot(x2 ~x1, data = tt)
> @
>     \caption{xxx}
>   \end{center}
> \end{figure}
> 
> PROBLEM:
> the pdf of the figure is not correctly created (neither the esp) and the 
> error I get from sweave is:
> pdf inclusion: required page does not exist <0>

You need a print() statement around bwplot() -- see the FAQ.

Dirk
-- 
Better to have an approximate answer to the right question than a precise 
answer to the wrong question.  --  John Tukey as quoted by John Chambers

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to