Works, thanks! Mark
Am 31.12.2010 um 01:30 schrieb Duncan Murdoch: > On 30/12/2010 6:14 PM, Mark Heckmann wrote: >> 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? > > Include results=hide as an option for the chunk. (Or something similar if > that doesn't work; check the Sweave manual if I got it wrong.) > > Duncan Murdoch Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org 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.