RStudio-settings | R Documentation |
Reset RStudio to use predefined set of settings/preferences. Correctly works only with RStudio 1.3 or newer. Recommended to use with RStudio 2022.07.1 or newer.
rstudio_reset_user_settings(to, backup = TRUE, ask = TRUE)
to |
The name of pre-defined set of RStudio settings/preferences. Options: "rstudio-default", "bio-default", "bio-dark-blue", "bio-black". |
backup |
(logical)
If |
ask |
(logical)
If |
Settings that can be used in rstudio-prefs.json
file:
https://docs.rstudio.com/ide/server-pro/session-user-settings.html
get_path_rstudio_config_file()
On Customizing RStudio using point-and-click method.
On Configuration and Settings.
A list of Session User Settings to be used with
rstudioapi::writeRStudioPreference()
.
On Resetting RStudio Desktop's State.
StackOverflow threads on export/import RStudio of user preferences:
https://stackoverflow.com/a/55940249/4783029
https://stackoverflow.com/a/54982341/4783029
## Not run: \donttest{
rstudio_reset_user_settings(to = "rstudio-default")
rstudio_reset_user_settings(to = "bio-default")
rstudio_reset_user_settings(to = "bio-dark-blue")
rstudio_reset_user_settings(to = "bio-black")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.