Skip to contents

Check

check_installed_programs()
Check installed programs and available versions
check_user_info()
Get user-related information
get_rstudio_install_scope()
Determine whether the local RStudio Desktop install is system-wide or per-user

Change Settings

rstudio_reset_user_settings()
Reset RStudio settings
rstudio_compare_user_settings()
Show differences in sets of settings
rstudio_reset_keybindings()
Reset RStudio keybindings to a packaged preset.
rstudio_install_spellcheck_dictionaries() rstudio_download_spellcheck_dictionaries() rstudio_delete_spellcheck_dictionaries()
Dictionaries to check spelling

Paths and Directories

RStudio Projects

Packages

get_pkgs_installed()
List packages installed on this computer
is_pkg_installed()
Check if package is installed
list_pkgs_used_in_dir()
List Packages Used in Directory
list_pkgs_used_in_files()
List Packages Used in Specific File(s)
pkg_list_archived_versions()
Get previous package versions available on CRAN

Utilities and Helper Functions

compare_version()
Compare Version Numbers
get_os_type() is_64bit_os() is_32bit_os()
Detect the current operating system
rstudio_restart_r() rstudio_reload_ui() restart_r() restart_rstudio()
Functions to Restart R and Reload RStudio

Other Functions

Functions not mentioned above.

assert_single_value()
Validate that a function argument is a single value.
find_rstudio_install_dir()
Locate the RStudio Desktop installation directory
get_installed_rstudio_version()
Get the version of an installed (but not necessarily running) RStudio
get_rstudio_version_from_registry()
Get the RStudio version reported by the Windows installer registry entry
is_rstudio_installed()
Check whether RStudio Desktop is installed, even if it is not running
parse_rstudio_version_string()
Parse an RStudio calendar-version string into a numeric_version()
print_program_version_info()
Print a version-status summary for a program.