Greg Snow
2006-Oct-04 18:55 UTC
[R] R Graphics: Saving PDF and other formats from Windows GraphicDevice for LaTeX
If you plan to include your graphics in LaTeX files then you should really look at the Sweave function in the utils package. This approach may work better for you and make these questions not matter anymore. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at intermountainmail.org (801) 408-8111 -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Anupam Tyagi Sent: Wednesday, October 04, 2006 11:11 AM To: r-help at stat.math.ethz.ch Subject: [R] R Graphics: Saving PDF and other formats from Windows GraphicDevice for LaTeX Hello, I can't seem to save (or find the default location) when I use the Window Graphic Device's pull down menu. It does not seem to save to the directory I have set using "setwd(...)". How do I make the pull down menu's work? What is the best format to save R graphics for inclusion into a LaTeX documents? I will use PdfTex, or LaTeX -> PS -> PsToPdf to generate the final PDF file. Which is likely to give the best graphics quality in the final PDF document? The final graphs will be about 3x3 inch (fit in a column in two-column format). I will be grateful if someone can share their experience. Anupam. ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.