Rosé Pine for R Markdown
All natural pine, faux fur and a bit of soho vibes for the classy minimalist
Usage
- Place
style.css
(andtheme_rose_pine.R
for ggplot2) into the same folder as your R markdown file. - In your document header, include
output:
html_document:
css: "style.css"
- For ggplot2, add
source("theme_rose_pine.R")
There is also
ggthemr_rose_pine.R
for ggthemr users.
when adding libraries, then...
ggplot(data, aes(x = x, y = y)) +
theme_rose_pine() +
# ...
Edit
theme_rose_pine.R
in the marked comments to add a custom font.