Re: GGSAVE does not save a good version of my graph

Ivan Krylov via R-help <[email protected]> Wed, 29 Jul 2026 12:20:34 +0300
Newsgroups gmane.comp.lang.r.general
Message-ID <20260729122034.217aed92@parabola>
On Sat, 25 Jul 2026 02:34:39 +0000 (UTC)
Ian Worthington <[email protected]> wrote:

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

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

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

-- =

Best regards,
Ivan