[R] Sweave/LaTeX Problem with EPS PDF

Jason Turner jasont at indigoindustrial.co.nz
Sun Dec 21 06:30:23 CET 2003


Harold Doran wrote:
[... Sweave use...]
> However, when I examine the pdf or eps files created, there 
> is nothing there. When I view the EPS using Ghostview, the file
 > is empty, but there appears to be a bounding box surrounding
 > nothing. When I open the pdf graphic, there is nothing there
 > either. I have tried creating both dvis and pdf files. Again,
 > text works perfectly, but graphics do not work.

Are they lattice graphics?  They need to be wrapped in a print() 
statement, like

print(xyplot(...))

Without that, they don't produce output to eps or pdf.

Cheers

Jason
-- 
Indigo Industrial Controls Ltd.
http://www.indigoindustrial.co.nz
64-21-343-545
jasont at indigoindustrial.co.nz




More information about the R-help mailing list