Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101231/3302a272/attachment.pl>
Printing graphics in Sweave problem
3 messages · Duncan Murdoch, Mark Heckmann
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
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101231/4abb8e69/attachment.pl>