Skip to contents

RStudio IDE ships with a pandoc binary. The path is stored in RSTUDIO_PANDOC environment variable. Theses function are helper to easily use this specific version.

Usage

pandoc_rstudio_version()

pandoc_rstudio_bin()

Value

pandoc_rstudio_version() returns the version number for pandoc binary used by RStudio IDE as a base::numeric_version() object.

pandoc_system_bin() returns absolute path to the pandoc binary used by RStudio IDE.

Examples

if (FALSE) { # !is.null(pandoc::pandoc_rstudio_bin())
}
pandoc_rstudio_bin()
#> NULL