[R] export figure by pdf command

Rolf Turner rolf.turner at xtra.co.nz
Tue Jan 29 22:05:25 CET 2013

I was going to attempt to answer your question, but I refuse to
respond to anyone who writes "wanna" when they mean "want to".
The use of "wanna" is unacceptable in written English unless you
are *trying* to be funny, and I don't think you are.


         Rolf Turner

On 01/30/2013 09:48 AM, hp wan wrote:
> Dear R mailing listers,
> After plotting, I wanna save it as file in pdf format using pdf("name.pdf")
> command. It failed, but I can do it by GUI operation (file-save as-pdf).
> e.g.
> x11()
> hist(x, breaks = 50, probability = FALSE)
> pdf("hist.pdf")

More information about the R-help mailing list