The function wraps rstudio.prefs::use_rstudio_prefs() and sets the following preferences in RStudio.

PreferenceValue
always_save_historyFALSE
graphics_backendragg
load_workspaceFALSE
show_hidden_filesTRUE
show_line_numbersTRUE
margin_column80
save_workspacenever
rainbow_parenthesesTRUE
restore_last_projectFALSE
rmd_chunk_output_inlineFALSE
show_last_dot_valueTRUE
show_marginTRUE
show_invisiblesTRUE
use_bst_rstudio_prefs(profile = tolower(Sys.info()[["user"]]))

Arguments

profile

Used to set additional preferences saved under specified profile. Default is your current system username. If no profile exists, it is ignored.

Examples

if (FALSE) {
use_bst_rstudio_prefs()
}