[R] R Save As PDF

Dirk Eddelbuettel edd at debian.org
Tue Apr 3 05:35:18 CEST 2001


  "Niels" == niels Waller <niels.waller at home.com> writes:
  Niels> Is there an R function to save a plot as a pdf file? 

Yes, save it with dev2bitmap as in

     plot(rnorm(100),type='b')
     dev2bitmap("/tmp/foo.pdf",type="pdfwrite")

Dirk

-- 
According to the latest figures, 43% of all statistics are totally worthless.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list