Re: [R] sweave bwplot error

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Thu 07 Apr 2005 - 21:17:51 EST

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

______________________________________________
R-help@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
Received on Thu Apr 07 21:23:50 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:03 EST