Adds a custom editor theme to RStudio and returns the name of the newly added theme.
addTheme(themePath, apply = FALSE, force = FALSE, globally = FALSE)
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
|
The addTheme
function was introduced in RStudio 1.2.879.