-
Notifications
You must be signed in to change notification settings - Fork 8
pandoc_rstudio
Kelli Johnson edited this page Jun 7, 2021
·
1 revision
There are detailed instructions on how to install Pandoc on different platforms on the Pandoc website allowing you to use a certain version of Pandoc.
Where the RStudio IDE might have a different version that it installed upon download. You will need to update your R session to know which version to use by calling the function rmarkdown::find_pandoc(), e.g., run one of these lines of code before calling rmarkdown::render()
or within your .Rmd file.
# to find a specific version
rmarkdown::find_pandoc(version = "2.9.1")
# to find Pandoc under a specific directory
rmarkdown::find_pandoc(dir = "~/Downloads/Pandoc")
# ignore the previously found Pandoc and search again
rmarkdown::find_pandoc(cache = FALSE)