Viechtbauer, Wolfgang (NP)
2026-Feb-26 10:54 UTC
[R] Resolution of RGui With High DPI Scaling
Hi all, I rarely use Windows, but noticed that Rgui itself and plots under Windows using the windows() plotting device looked very fuzzy even with a 4k resolution. This seems to be related to DPI scaling, since the system was using 200% scaling (so that things aren't super tiny). If I change the high DPI settings for Rgui (Properties, Compatibility, Change high DPI settings, High DPI scaling override, Application), then things are nice and crisp. Is this common knowledge for Windows people? If not, should this be documented somewhere, like the Windows FAQ? Best, Wolfgang -- Wolfgang Viechtbauer, PhD, Statistician | Department of Psychiatry and Neuropsychology | Maastricht University | PO Box 616 (VIJV1) | 6200 MD Maastricht, The Netherlands | +31(43)3884170 | https://www.wvbauer.com
Thanks a lot for the solution. I always use the Windows system, but I wasn't aware of this setting before. Best, Jinsong On 2/26/2026 6:54 PM, Viechtbauer, Wolfgang (NP) via R-help wrote:> Hi all, > > I rarely use Windows, but noticed that Rgui itself and plots under Windows using the windows() plotting device looked very fuzzy even with a 4k resolution. This seems to be related to DPI scaling, since the system was using 200% scaling (so that things aren't super tiny). If I change the high DPI settings for Rgui (Properties, Compatibility, Change high DPI settings, High DPI scaling override, Application), then things are nice and crisp. Is this common knowledge for Windows people? If not, should this be documented somewhere, like the Windows FAQ? > > Best, > Wolfgang > > -- > Wolfgang Viechtbauer, PhD, Statistician | Department of Psychiatry and > Neuropsychology | Maastricht University | PO Box 616 (VIJV1) | 6200 MD > Maastricht, The Netherlands | +31(43)3884170 | https://www.wvbauer.com > > ______________________________________________ > R-help at r-project.org 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.