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

John Kane <[email protected]> Sat, 25 Jul 2026 08:28:40 -0400
Newsgroups gmane.comp.lang.r.general
Message-ID <CAKZQJMDE7Z4DxzFcQQwpFa0r=EUtEK-ZCqL2CLD9m3OStjvzGg@mail.gmail.com>
Maybe go to base R?
See "?png"  for various choices.

On Fri, 24 Jul 2026 at 08:08, Ivan Krylov via R-help <[email protected]>
wrote:

> =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
>
> ______________________________________________
> [email protected] mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>


-- =

John Kane
Kingston ON Canada

	[[alternative HTML version deleted]]