Re: GGSAVE does not save a good version of my graph
Ivan Krylov via R-help <[email protected]> Fri, 24 Jul 2026 15:08:23 +0300
| Newsgroups | gmane.comp.lang.r.general |
|---|---|
| Message-ID | <20260724150823.7dadc3b4@arachnoid> |
=D0=92 Thu, 23 Jul 2026 20:18:38 +0000 "Sorkin, John" <[email protected]> =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > ggsave(plot=3Dzz, > path=3Dmypath, > filename=3Dmyfilename, > device=3D"tiff", > width=3D4,height=3D3, > units=3D"in", > dpi=3D600) Hard to give a better answer without seeing the plot, but since you're on Windows, try giving the additional argument type=3D"cairo" to ggsave(...). Otherwise tiff() uses the old GDI code that doesn't perform anti-aliasing. The RStudio graphical device is distinct from tiff() and performs anti-aliasing as well. (Is is a requirement of your publisher to submit TIFF plots? It may be possible to preserve them in higher quality as PDF files.) -- = Best regards, Ivan