
The path can be found in the environment variable in RStudio: Sys.getenv('RSTUDIO_PANDOC') If you want RStudio’s Pandoc to be available system-wide, you can add its path to the system environment variable PATH. If you want to use RStudio’s Pandoc, you can remove the Homebrew versions: brew remove pandoc pandoc-citeproc
Install pandoc for mac install#
The good news is that these changes are not too bad, and the current development versions of rmarkdown, bookdown, and flexdashboard should be compatible with Pandoc 2.0.2 now.įrom what I can tell, users often upgraded to Pandoc 2.0 through Homebrew on macOS unconsciously (via brew upgrade), and they do not know an important fact: the RStudio IDE actually bundles Pandoc v1.19.2.1, so there is no need to install Pandoc separately if you use RStudio. There have been a few breaking changes (which are expected, because of the major version number has been increased), which I had to deal with in the rmarkdown package as well as other R Markdown extension packages. I’m not comfortable with the changes in syntax highlighting, either. It took me a while to understand the new rules. I feel that the rules for nested lists are quite confusing after the four-space rule was disabled by default in Pandoc 2.0. There are a few things that I don’t like about Pandoc 2.0.

In fact, I’d encourage you to stay with Pandoc 1.19.x for now. I don’t see any major benefits relevant to R Markdown. I have read its release notes a few times, and my conclusion is that for R Markdown users, there is no need to upgrade to Pandoc 2.0 from 1.x. Update on 2018-06/13: Half a year has passed, and I think the R Markdown ecosystem should be ready for Pandoc 2.x now. No Need to Upgrade to Pandoc 2.0 (Yet) for R Markdown users Yihui Xie /

No Need to Upgrade to Pandoc 2.0 (Yet) - for R Markdown users - Yihui Xie | 谢益辉
