
Install, list, try or remove RStudio themes
Source:R/rstudiothemes-actions.R
rstudiothemes-actions.RdAdaptation of some rsthemes functions, MIT License Copyright © rsthemes authors.
Important: These functions (except
list_rstudiothemes(list_installed = FALSE)) only work in RStudio; they
return NULL when called from other IDEs.
Usage
install_rstudiothemes(
style = c("all", "dark", "light"),
themes = NULL,
destdir = NULL
)
remove_rstudiothemes(style = c("all", "dark", "light"))
list_rstudiothemes(style = c("all", "dark", "light"), list_installed = TRUE)
try_rstudiothemes(style = c("all", "dark", "light"), themes = NULL, delay = 0)Arguments
- style
Character. Limit themes to a specific group:
all,dark, orlight.- themes
Optional character vector of theme names. If provided, only these themes will be used, and
stylewill be ignored.- destdir
Optional directory for
.rsthemefiles. By default usesrstudioapi::addTheme(), but this argument allows installation to non-standard directories.- list_installed
Should the installed rstudiothemes themes be listed (default). If
FALSE, the available themes in the rstudiothemes package are listed instead.- delay
Number of seconds to wait between themes. Set to 0 to be prompted to continue after each theme.
Value
install_rstudiothemes()andremove_rstudiothemes()returnNULLinvisibly.
list_rstudiothemes()returns a character vector of theme names.
try_rstudiothemes()has side effects of starting a widget that allows users to try different themes. The widget can be exited by following the prompts, which will restore the original theme.
Functions
install_rstudiothemes(): Install RStudio themesremove_rstudiothemes(): Remove rstudiothemes from RStudiolist_rstudiothemes(): List installed or available themestry_rstudiothemes(): Try each rstudiothemes RStudio theme
Ported Themes
rstudiothemes includes RStudio themes based on the following Visual Studio Code themes:
Ayu by teabyii.
Catppuccin by https://catppuccin.com/.
Cobalt2 Theme Official by Wes Bos.
CRAN by dieghernan, based on the CRAN (R Project) website theme, created with Pandoc
Dracula Official by https://draculatheme.com/.
GitHub Dark and Light by GitHub.
JellyFish Theme by Pawel Borkar.
Matcha by Luca Falasco.
Matrix Theme by UstymUkhman.
Night Owl Dark and Light (no italics) by Sarah Drasner.
Nord by Arctic Ice Studio.
OKSolar Theme by dieghernan.
Overflow Theme by dieghernan.
Panda Theme by Panda Theme.
Selenized Themes by dieghernan.
Skeletor Syntax by dieghernan.
SynthWave '84 by Robb Owen.
Tokyo Night by Enkia.
Winter is Coming Theme by John Papa.
References
Aden-Buie G (2026). rsthemes: Full Themes for RStudio v1.2+. R package version 0.5.1, commit 48fc078f772e5e63669bc9773eabc8e9cdc7f699, https://github.com/gadenbuie/rsthemes.
Author
Garrick Aden-Buie https://github.com/gadenbuie
Examples
list_rstudiothemes(list_installed = FALSE)
#> [1] "ayu Dark" "ayu Light"
#> [3] "CRAN" "Catppuccin Latte"
#> [5] "Catppuccin Mocha" "cobalt2"
#> [7] "Dracula2025" "GitHub Dark"
#> [9] "GitHub Light" "JellyFish Theme"
#> [11] "Matcha" "Matrix"
#> [13] "Night Owl" "Night Owl Light"
#> [15] "Nord" "OKSolar Dark"
#> [17] "OKSolar Light" "OKSolar Sky"
#> [19] "Overflow Dark" "Overflow Light"
#> [21] "Panda Syntax" "Selenized Dark"
#> [23] "Selenized Light" "Skeletor Syntax"
#> [25] "SynthWave 84" "Tokio Night Dark"
#> [27] "Tokyo Night Light" "Tokyo Night Storm"
#> [29] "Winter is Coming Dark Blue" "Winter is Coming Light"