use_bst_rstudio_prefs: Use Biostatistics RStudio Preferences

View source: R/use_bst_rstudio_prefs.R

use_bst_rstudio_prefsR Documentation

Use Biostatistics RStudio Preferences

Description

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

Preference Value
always_save_history FALSE
graphics_backend ragg
load_workspace FALSE
show_hidden_files TRUE
show_line_numbers TRUE
margin_column 80
save_workspace never
rainbow_parentheses TRUE
restore_last_project FALSE
rmd_chunk_output_inline FALSE
show_last_dot_value TRUE
show_margin TRUE
show_invisibles TRUE

Usage

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


use_bst_rstudio_prefs()


ddsjoberg/bstfun documentation built on July 4, 2023, 10:59 a.m.