I want to print a .pdf file using Sweave like below. I do not want to use fig=true as I want to include it via normal tex.
The problem: the pdf document always contains the lines

null device 
1

at the position where the pdf was prompted.

<<echo=f>>=
pdf("test.pdf")
	plot(1:10)
dev.off()
@

How can I avoid that?

Thanks,
Mark


ЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦ
Mark Heckmann
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com





	[[alternative HTML version deleted]]

