[R] GGSAVE does not save a good version of my graph

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Wed Jul 29 11:20:34 CEST 2026


On Sat, 25 Jul 2026 02:34:39 +0000 (UTC)
Ian Worthington <ianworthington using yahoo.com> wrote:

> Is there any documentation as to the best /type/ to use with a
> particular /device/?    I'm outputting to PNG on Windows, for
> instance: should I be using a specific type?  

On Windows, all bitmap devices (bmp(), jpeg(), png(), tiff()) will give
better-looking (anti-aliased) pictures with type = "cairo" instead of
type = "windows".

On Linux, type = "cairo" also produces better-looking bitmaps than type
= "Xlib". On macOS, type = "cairo" and type = "quartz" should produce
bitmaps of similar (good) quality.

-- 
Best regards,
Ivan



More information about the R-help mailing list