Create a string with a path to directory for RStudio snippets. The directory might not exist.

get_path_rstudio_snippets_dir(rstudio_version = "current")

Arguments

rstudio_version

Numeric version of RStudio (the output is different for RStudio < 1.3 and 1.3 or newer series). If "current", the current version of RStudio will be determined automatically.

Value

(string) Path to directory for RStudio snippets.

Examples