Convert a tmTheme to an RStudio Theme
Converts a tmTheme
to an rstheme
and optionally adds and
applies it to RStudio and returns the name of the theme.
convertTheme( themePath, add = TRUE, outputLocation = NULL, apply = FALSE, force = FALSE, globally = FALSE )
themePath |
A full or relative path to the |
add |
Whether to add the newly converted theme to RStudio. Setting this
to true will have the same impact as running |
outputLocation |
A full or relative path where a copy of the converted
theme will be saved. If this value is |
apply |
Whether to immediately apply the newly added theme. This
paramater cannot be set 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 convertTheme
function was introduced in RStudio 1.2.879.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.