If you want pdf, save as eps or ps, then use ps2pdf, which comes with GhostScript (or gs, as the case may be). See http://www.cs.wisc.edu/~ghost/ Jon -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Is there an R function to save a plot as a pdf file? Thanks for any suggestions, Niels ******************************************************* Niels Waller, Ph.D. Director of Quantitative Methods and Evaluation Department of Psychology and Human Development Vanderbilt University Phone: (615) 322-8380 email: niels.waller at vanderbilt.edu QME Home page: http://www.vanderbilt.edu/quantmetheval/ ******************************************************* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
At 07:26 PM 4/2/01 -0700, you wrote:> >Is there an R function to save a plot as a pdf file? > >Thanks for any suggestions,On windows, use File > Print and choose PDFWriter (assuming you have Acrobat installed). This will do it, but you may want to fiddle in various ways. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I would suggest saving the plot as a .ps or .eps file. Then you can use the perl script epstopdf.pl to make the conversion to .pdf. This conversion will create a page the size of the image, which is a big help if you then include the pdf as a figure in a LaTeX document. Dave On Mon, 2 Apr 2001, niels Waller wrote:> Is there an R function to save a plot as a pdf file?-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._