[R] Sweave/LaTeX Problem with EPS PDF

Harold Doran hdoran at nasdc.org
Sun Dec 21 23:16:53 CET 2003


Yes, they were lattice and your suggestion did the trick. Many thanks!

	-----Original Message----- 
	From: Jason Turner [mailto:jasont at indigoindustrial.co.nz] 
	Sent: Sun 12/21/2003 12:30 AM 
	To: Harold Doran 
	Cc: r-help at r-project.org 
	Subject: Re: [R] Sweave/LaTeX Problem with EPS PDF
	
	

	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