Skip to contents

A wrapper for rstudio.prefs::use_rstudio_prefs that updates RStudio preferences without prompting for confirmation.

Usage

use_rstudio_prefs_silent(...)

Arguments

...

A series of RStudio preferences to update, e.g. always_save_history = FALSE, rainbow_parentheses = TRUE.

Value

NULL, updates RStudio rstudio-prefs.json file.

Details

This function is designed to be used in startup scripts or automated processes where user confirmation is not desired. It bypasses the standard confirmation prompt by applying the preferences directly.

Note

This function is a wrapper for rstudio.prefs::use_rstudio_prefs and is intended for use in environments where user interaction is not possible or desired.

See also

use_rstudio_prefs for the original function that includes user confirmation.