addTheme {rstudioapi} | R Documentation |
Add a Custom Editor Theme
Description
Adds a custom editor theme to RStudio and returns the name of the newly added theme.
Usage
addTheme(themePath, apply = FALSE, force = FALSE, globally = FALSE)
Arguments
themePath |
A full or relative path or URL to an |
apply |
Whether to immediately apply the newly added theme. Setting
this to |
force |
Whether to force the operation and overwrite an existing file
with the same name. |
globally |
Whether to install this theme for the current user or all
users. If set to |
Note
The addTheme
function was introduced in RStudio 1.2.879.
[Package rstudioapi version 0.16.0 Index]