use_rstudio_prefs {rstudio.prefs} | R Documentation |
Set RStudio Preferences
Description
This function updates the RStudio preferences saved in
the rstudio-prefs.json
file. A full listing of preferences that may be
modified are listed here
https://docs.rstudio.com/ide/server-pro/session-user-settings.html
Usage
use_rstudio_prefs(...)
Arguments
... |
series of RStudio preferences to update, e.g.
|
Value
NULL, updates RStudio rstudio-prefs.json
file
Author(s)
Daniel D. Sjoberg
Examples
# pass preferences individually --------------
use_rstudio_prefs(
always_save_history = FALSE,
rainbow_parentheses = TRUE
)
# pass a list of preferences -----------------
pref_list <-
list(always_save_history = FALSE,
rainbow_parentheses = TRUE)
use_rstudio_prefs(!!!pref_list)
[Package rstudio.prefs version 0.1.9 Index]