I tried and confirmed that I could change the font (not just the font size,
but the font itself) in the script editor inside Rgui, the default GUI of R
in Windows, although I found out how accidentally. I tried both R 4.3.2 and
R 4.5.1 on Windows 11,

When I changed the font and clicked "Apply", only the font in the
console changed immediately. I also thought the font in the script editor
could not be changed. But when I closed the active script window, opened a
new one, and typed something, I confirmed that the font in the script was
the same font I saw in the console.

This also applies to saved R scripts. They will use the font of the console
if I change it, when I open them *after* I changed the font.

Ideally, the font in all windows should change at the same time when we
click "Apply." It is not the case now. Closing and reopening a script is a
workaround for now.

Regards,
Shu Fai

On Fri, Sep 19, 2025 at 2:13 PM John Warner <john.war...@chdifoundation.org>
wrote:

> Bert and  Duncan
> I am happy with the simple editor that ships with R except for the issue
> with fonts.  I simply cannot find s way to change them in 4.2.0. I can
> change the font on the console and am sure that in previous versions of R I
> could change the fonts in the editor. Any help I could get with this would
> be greatly appreciated.  Maybe I should  raise this with the development
> team? And yes, I am using a windows server.
> Thanks
> John
>
>
> Be
> On Sep 18, 2025, at 3:35 PM, Duncan Murdoch <murdoch.dun...@gmail.com>
> wrote:
>
>  On 2025-09-18 2:58 p.m., Bert Gunter wrote:
> > By "standard R editor" to you mean the RGUI editor that ships with R? On
> my
> > Mac platform, it has menu entries in the "Format" menu that allow you to
> > choose different fonts and sizes. On Windows, of course, the menus may be
> > organized differently, but I would assume there's something similar. If
> you
> > mean some other editor (e.g. see ?edit), then you need to dig into their
> > docs. Again, I assume something similar would be available.
>
> I don't think it is available in Rgui.exe. I believe that as Tim
> describes, there's just one choice of font, you don't get "rich text"
> like you do in the Mac R.app editor.
>
> Duncan Murdoch
>
> >
> > Cheers,
> > Bert
> >
> >
> >
> > On Thu, Sep 18, 2025 at 11:36 AM John Warner <
> john.war...@chdifoundation.org>
> > wrote:
> >
> >> Dear R development Team
> >> I am a long time user of R with a distinctly poor vision. I have been
> >> using the standard R interface for many years and am comfortable with it
> >> except for one minor detail. There seems to be no way to change the font
> >> in the standard R editor. I think that this used to be possible and
> would
> >> like it to be brought back in future releases. At the moment I have
> many R
> >> command files with font sizes that suit my needs. By copying these and
> >> renaming I can continue to work with fonts that I like. It also seems to
> >> work if I start a new file in notepad and set the font size there. I can
> >> then open this file in the R editor and the font size will be retained.
> At
> >> the very least I would like to be sure that work arounds like this
> remain
> >> possible in any new releases.
> >> Best
> >> John Warner
> >>
> >>
> >> John H. Warner, PhD, MBA
> >> Director, Biostatistics
> >> CHDI Management / CHDI Foundation
> >> 155 Village Boulevard, Suite 200
> >> Princeton, NJ, 08540
> >> (609) 945-9644: office
> >> (609) 751-7345: cell
> >> (609) 452-2160: fax
> >> john.war...@chdifoundation.org<mailto:john.war...@chdifoundation.org>
> >>
> >>
> >>
> >> [[alternative HTML version deleted]]
> >>
> >> ______________________________________________
> >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> >> https://stat.ethz.ch/mailman/listinfo/r-help<
> https://stat.ethz.ch/mailman/listinfo/r-help>
> >> PLEASE do read the posting guide
> >> https://www.R-project.org/posting-guide.html<
> https://www.R-project.org/posting-guide.html>
> >> and provide commented, minimal, self-contained, reproducible code.
> >>
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help<
> https://stat.ethz.ch/mailman/listinfo/r-help>
> > PLEASE do read the posting guide
> https://www.R-project.org/posting-guide.html<
> https://www.R-project.org/posting-guide.html>
> > and provide commented, minimal, self-contained, reproducible code.
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to