Skip to contents

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

Usage

use_pcctc_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_pcctc_rstudio_prefs()
}