Skip to contents

Manage file with RStudio configuration (user preferences).

Usage

get_path_rstudio_config_file(which = "current")

open_rstudio_config_file(which = "current")

Arguments

which

(character) type of settings:

  • "current": file with current RStudio settings (that differ from the defaults);

  • "bio-default": file with setting from "bio-default" list (except theme);

  • "rstudio-default": a preset compiled from the most recent RStudio settings documentation available when it was downloaded. For comparisons, rstudio_compare_user_settings() fills unset values from the local RStudio user-prefs-schema.json when available.

Examples

if (interactive()) {
  get_path_rstudio_config_file()

  get_path_rstudio_config_file("bio-default")
}