Customizing the Theme of Your R HTML Help

R's default theme of the HTML help pages is too plain for me to read, but we can easily modify the theme, which is essentially a CSS file. You can find the file under:

file.path(R.home('doc'), 'html', 'R.css')

Simply replace this file with my version of R.css (1K) which looks like:

R HTML Help Theme

Of course you can design your own R.css if you know CSS.

Yihui Xie /
Published under (CC) BY-NC-SA in categories computer science  r language  tagged with CSS  R HTML Help