The goal of {ambiance}
is to easily switch themes in RStudio. This is useful if you use different themes when you teach and when you work on personal projects for example.
You can install the development version of {ambiance}
with:
# install.packages("devtools")
devtools::install_github("etiennebacher/ambiance")
- Define different ambiances by creating a vector with the name of the ambiance first and then the name of the RStudio theme:
define_ambiances(
list(
c("class", "textmate (default)"),
c("perso", "cobalt")
)
)
- Apply a specific theme with the name of an ambiance you defined:
ambiance("perso")