Customizing the Theme of Your R HTML Help

January 4, 2011
By

(This article was first published on Yihui Xie, and kindly contributed to R-bloggers)

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.

To leave a comment for the author, please follow the link and comment on his blog: Yihui Xie.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.