[R] customizing edit.data.frame

Viechtbauer, Wolfgang (NP) wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Mon May 2 15:52:07 CEST 2022

Nice -- this is so much better for my aging eyes! Thanks!

In the long run, would be nice if there was an 'official' way of adjusting the font size under X11.


>-----Original Message-----
>From: Ivan Krylov [mailto:krylov.r00t using gmail.com]
>Sent: Monday, 02 May, 2022 15:31
>To: Viechtbauer, Wolfgang (NP)
>Cc: R-help using R-project.org
>Subject: Re: [R] customizing edit.data.frame
>On Mon, 2 May 2022 11:09:55 +0000
>"Viechtbauer, Wolfgang (NP)"
><wolfgang.viechtbauer using maastrichtuniversity.nl> wrote:
>> I would also love to find out how to make changes to the way edit()
>> -- or in my case, View(), but that's presumably using the same
>> resources -- looks under Linux.
>Looking at the source code [*], there is a way to set the font using an
>undocumented option, but the its size is still hard-coded to "12 pt":
>(Those are bitmap fonts intended for a fixed DPI which is likely
>different from yours, which is why the font size measured in points is
>wrong. I'm not an X11 expert, so I don't know whether this is possible,
>but I've never seen these fonts packaged for more than 100 DPI.)
>It's possible to get the desired result by passing a string with fixed
>parameters instead of %s, %s, %d precisely in the right places, but
>that's undefined behaviour and not intended to work this way:
>options(X11fonts = "-*-courier-%s-%s-*-*-34-*-*-*-*-*-*-*")
>(See the xfontsel command for what XLFD font names should look like and
>X11Fonts() for what R expects to find in that option.)
>Best regards,

More information about the R-help mailing list