Skip to contents
  • rstudio_install_spellcheck_dictionaries() downloads and installs RStudio (system) spellchecking dictionaries.

  • rstudio_download_spellcheck_dictionaries() is a compatibility alias for the installer.

  • rstudio_delete_spellcheck_dictionaries() deletes RStudio (system) spellchecking dictionaries.

Usage

rstudio_install_spellcheck_dictionaries(secure = TRUE)

rstudio_download_spellcheck_dictionaries(secure = TRUE)

rstudio_delete_spellcheck_dictionaries(ask = TRUE)

Arguments

secure

(logical) If TRUE (the default), uses "https", if FALSE, uses "http". FALSE downloads the dictionary archive over an unauthenticated connection and is not recommended: the archive is extracted into your RStudio configuration directory.

ask

(logical) If TRUE, user will have to confirm his/her choice interactively.

Value

For rstudio_install_spellcheck_dictionaries() and its download alias, invisibly returns TRUE on success and FALSE on handled failure.

Examples

if (interactive()) {
  rstudio_delete_spellcheck_dictionaries()
  rstudio_download_spellcheck_dictionaries()
}