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]]
______________________________________________
[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
and provide commented, minimal, self-contained, reproducible code.