Elias
Elias

Reputation: 199

How do I increase font size in RStudio Help pane?

I use glasses for presbyopia, and can read all other panes, but often have to open R for help, because of its bigger font size, although I find it inconvenient.

I haven't found any answer in support.rstudio.com ; somebody else asked this same question in 2014.

I am using a MacBook Air with macOS Sierra 10.12.1, RStudio 1.0.44 and R 3.3.2

Thanks!

Upvotes: 19

Views: 6739

Answers (4)

robertspierre
robertspierre

Reputation: 4361

This feature is now implemented on RStudio since version 1.3, as tracked on this GitHub issue.

Modify font size in: Tools -> Global options -> General -> Advanced -> Help panel font size

Upvotes: 11

hukai916
hukai916

Reputation: 91

On a Mac, now you can go to Preference -> General -> Advanced -> Help panel font size

Upvotes: 2

rszengin
rszengin

Reputation: 341

Open "...\RStudio\resources\R.css" file in your RStudio installation folder with a text editor. In the beginning of the file you will see:

body, td {
   font-family: sans-serif;
   font-size: 10pt;
}

That is the setting you are looking for. Change font-size to anything you want.

Upvotes: 20

figurine
figurine

Reputation: 756

I don't think you can specifically resize the help window font size in the way you can with the other windows. You can resize the whole of RStudio using View -> Zoom In or else Tools -> Global Options -> Appearance and change the Zoom there. Both of these will resize everything in R Studio so you may want to readjust your font size afterwards if you'd previously increased it.

Upvotes: 5

Related Questions