Re: [R] Why the variation when creating .pdf file output for my plots?

2010-06-30 Thread Jonathan Christensen
Karl, dev2bitmap runs its output through Ghostscript, and I assume that the difference is somehow due to that. I can't say whether Ghostscript is decreasing the file quality or just doing something clever, though. Jonathan On Wed, Jun 30, 2010 at 10:30 AM, Karl Brand wrote: > Thank you Erik!

Re: [R] Why the variation when creating .pdf file output for my plots?

2010-06-30 Thread Karl Brand
Thank you Erik! That works nicely now. The file size in (in kilobytes) is equal to the "File>Save As>PDF" method. Still curious why the file sizes (in Kb), differ by a factor of ~2 between the two methods: pdf() dev2bitmap(method = "pdf") I'm just *assuming* here that file size is inidcati

Re: [R] Why the variation when creating .pdf file output for my plots?

2010-06-30 Thread Erik Iverson
Method 3: > pdf(file="my_plot.pdf", paper="a4") > dev.off() The `pdf` function opens a *new* graphics device, you then send output to the device before calling dev.off(), e.g., pdf(file = my_plot.pdf") plot(1:10, 1:10) dev.off() -yields a .pdf file of 1kb (same plot example) and retu

[R] Why the variation when creating .pdf file output for my plots?

2010-06-30 Thread Karl Brand
Esteemed R Users, Would some one be patient enough to explain the variation i see when creating .pdf file output for my plots? FYI- my goal is produce the highest quality .pdf output from the R 'command line' as opposed to using the menu of the acitve graphics window. Im using 32bit WinXP. S