如何在 RStudio 帮助窗格中增加字体大小? [英] How do I increase font size in RStudio Help pane?
问题描述
我戴老花眼镜,可以阅读所有其他窗格,但经常不得不打开 R 寻求帮助,因为它的字体较大,虽然我觉得不方便.
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.
我在 support.rstudio.com 中没有找到任何答案;其他人在 2014 年问了同样的问题.
I haven't found any answer in support.rstudio.com ; somebody else asked this same question in 2014.
我使用装有 macOS Sierra 10.12.1、RStudio 1.0.44 和 R 3.3.2 的 MacBook Air
I am using a MacBook Air with macOS Sierra 10.12.1, RStudio 1.0.44 and R 3.3.2
谢谢!
推荐答案
使用文本编辑器打开 RStudio 安装文件夹中的 "...\RStudio\resources\R.css" 文件.在文件的开头,您将看到:
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;
}
这就是您正在寻找的设置.将 font-size 更改为您想要的任何内容.
That is the setting you are looking for. Change font-size to anything you want.
这篇关于如何在 RStudio 帮助窗格中增加字体大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!