View source: R/use_rstudio_prefs.R
| use_rstudio_prefs | R Documentation |
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.posit.co/ide/server-pro/admin/reference/session_user_settings.html
use_rstudio_prefs(...)
... |
series of RStudio preferences to update, e.g.
|
Invisibly returns the updated preferences as a named list on success,
or NULL if no updates were made (no changes, user aborted, or not in an
Daniel D. Sjoberg
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.