Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the font size in the RStudio user interface (not graphs etc.) under Linux

Tags:

r

rstudio

This is not a question about changing the font size in graphs produced using RStudio. I already know how to do that.

I use RStudio under Linux on a MacBook Pro with a 'retina' display. I use KDE as my window manager. I can (and do) enlarge the default font size in the user interface of other programs in KDE. I increase the font size for the user interface in Firefox and Thunderbird using program specific tools.

How do I increase the font size in the user interface - not the console, which is easy [Options -> Appearance -> font size], but, for example, the help text, the keyboard shortcuts list, and so on. At the moment I find these very hard to read. I've fiddled with everything I can fiddle with, but had no joy.

All help gratefully appreciated!

like image 341
astaines Avatar asked Aug 15 '14 23:08

astaines


People also ask

How do I change the font size in RStudio?

Then, you can further adjust the font of code window, console, terminal, environment, and history panels via Tools >> Global Options >> Appearance >> Editor font size. Presumably you'd up the everything with Ctrl+"+" and then decrease the size of the font size in appearance.

What font does R use for graphs?

When it comes to making figures in R, you can use any font you like, as long as it's Helvetica, Times, or Courier. Using other fonts that are installed on your computer can seem an impossible task, especially if you want to save the output to PDF.


2 Answers

As some people pointed out, by clicking the ctrl & + together, you can enlarge the font size for everything including for the console & code script. (You will have to do it with a help page pop up as suggested by user3619015.) Then go to the global option and resize the fonts. That changes the font size for everything except the help page. So you will have larger fonts for the help page but everything else in your normal preferred font size.

like image 154
Sophie Avatar answered Sep 30 '22 05:09

Sophie


On a Mac you can do it by going to: view -> actual size or just with the key combo: cmd+= (not cmd++) to zoom in (bigger), cmd+- or zoom out or cmd+0 (zero) to go back to the actual size.

like image 23
Daniel Wing Avatar answered Sep 30 '22 05:09

Daniel Wing