Hi there.
Out of curiosity, why are you doing it that way instead of this:
<>=
plot(runif(100))
@
Kevin
On January 27, 2011 05:30:08 am Matthieu Stigler wrote:
> great, solved! Thanks a lot for your quick help!
>
> Le 27. 01. 11 11:22, Prof Brian Ripley a écrit :
> > Note that the 'problem' is
great, solved! Thanks a lot for your quick help!
Le 27. 01. 11 11:22, Prof Brian Ripley a écrit :
Note that the 'problem' is with dev.off(), not pdf(), and the answer
is ?invisible.
pdf()
invisible(dev.off())
On Thu, 27 Jan 2011, Matthieu Stigler wrote:
Hi
I am sorry, my question seems sim
Note that the 'problem' is with dev.off(), not pdf(), and the answer
is ?invisible.
pdf()
invisible(dev.off())
On Thu, 27 Jan 2011, Matthieu Stigler wrote:
Hi
I am sorry, my question seems simple and must already have been asked, but I
did not find any aswser on the archives :-(
Searching
Hi
I am sorry, my question seems simple and must already have been asked,
but I did not find any aswser on the archives :-(
I am trying to use a plot in Sweave, where I include myself the statement
<>=
pdf("plot.pdf")
plot(runif(100))
dev.off()
cat("\\includegraphics{plot}\n\n")
@
as is doc
4 matches
Mail list logo