Package

snippets snippets-package

Manage RStudio Snippets

Install snippets

install_snippets_from_package() install_snippets_from_dir()

Install snippets

Back-up and restore snippets

backup_rstudio_snippets() list_snippet_file_backups() open_snippets_backup_dir() remove_snippet_backup_duplicates()

Manage back-up copies of snippets

Snippet files and directories

get_path_rstudio_snippets_dir()

Get path to directory for RStudio snippets

open_rstudio_snippets_dir()

Open directory of RStudio snippets

open_rstudio_snippets_file()

Edit RStudio Snippets

Other functions

get_default_snippet_types()

Get default snippet types

match_snippet_type()

Return correct snippet type