Description Switching functions Theme setting function
The ThemeSwitcher package provides an R Studio addin for quick switching between a light and a dark theme.
It provides two functions for programmatic theme switching, light_theme()
and dark_theme()
.
It also provides two function to set the respective theme, set_light_theme()
and set_dark_theme()
.
The two switching functions light_theme()
and dark_theme()
change the R Studio theme.
After package installation, they can be directly executed from the R Studio addins menu.
Light theme defaults to TextMate; dark theme defaults to Material.
The two theme setting functions set_light_theme()
and set_dark_theme()
can be used to set user-specific light and dark theme.
Subsequent calls to the switching functions and the addin use these user-specific themes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.