Skip to content

Upgrade to Pandoc 2 #1807

Closed
Closed

Description

@jmcphers

Pandoc 2 was released in October.

https://pandoc.org/releases.html

We will update the bundled copy of pandoc in RStudio with this new release. This is a prerequisite for out-of-the box Powerpoint support.

Note that this will require an R Markdown package version requirement bump as well (older versions of rmarkdown are not compatible with Pandoc 2).

Activity

  1. added this to the v1.2 milestone on Dec 5, 2017
  2. ronblum commented on Aug 23, 2018

    @ronblum
    Contributor

    pandoc_available()
    [1] TRUE
    pandoc_version()
    [1] ‘2.2.1’

  3. Courvoisier13 commented on Oct 18, 2018

    @Courvoisier13

    @jmcphers , @ronblum
    As this dates from 2017, I'm a bit confused about which version of Rstudio has pandoc 2.2.1 bundled in it? I have RStudio-1.1.456 and pandoc --version in \bin\pandoc gives me 1.19.2.1

  4. jmcphers commented on Oct 18, 2018

    @jmcphers
    MemberAuthor

    This applies to RStudio 1.2.

  5. Courvoisier13 commented on Oct 19, 2018

    @Courvoisier13

    Ok. I'll try to update to pandoc 2.1 manually then. I need it for cross compatibility of tables (kable + kableextra) between pdf and word.

  6. jmcphers commented on Oct 19, 2018

    @jmcphers
    MemberAuthor

    That should be just fine! Make sure the new version is on your PATH so RStudio picks it up. More here:

    https://www.rdocumentation.org/packages/rmarkdown/versions/1.10/topics/pandoc_available

  7. Courvoisier13 commented on Oct 30, 2018

    @Courvoisier13

    @jmcphers I got around to it and installed pandoc 2.3.1.

    The pdf/word compatibility of kableextra didn't work and now I can't use my yaml style bibliography because of a pandoc-citeproc error 83 (https://stackoverflow.com/questions/36826916/pandoc-citeproc-error-83-with-rmarkdown-file).

    Reverting to old pandoc and will give it another try when i have more time

  8. yuanqingye commented on Jan 21, 2019

    @yuanqingye

    That should be just fine! Make sure the new version is on your PATH so RStudio picks it up. More here:

    https://www.rdocumentation.org/packages/rmarkdown/versions/1.10/topics/pandoc_available

    Hi~ I installed the pandoc latest version, however, when I type in rmarkdown::pandoc_version()
    it still shows me the old version : ‘1.17.2’; I have already added the path of pandoc into system variable PATH

  9. MattCowgill commented on Mar 26, 2019

    @MattCowgill

    I also have the latest RStudio, but rmarkdown::pandoc_version() returns 1.19.2.1.

  10. Farbfetzen commented on Mar 26, 2019

    @Farbfetzen

    I also have the latest RStudio, but rmarkdown::pandoc_version() returns 1.19.2.1.

    @MattCowgill What do you mean by latest, the officially released one or the preview? I'm on RStudio 1.2.1327 and have pandoc 2.6 and rmarkdown 1.12. You can get the previw version of RStudio here.

  11. ronblum commented on Mar 27, 2019

    @ronblum
    Contributor

    @yuanqingye @MattCowgill Is there a version of a separately installed pandoc that is still in your PATH? Both user and system. If so, I suggest removing them entirely.

  12. ronblum commented on Mar 27, 2019

    @ronblum
    Contributor

    Also:

    1. What operating system are you running on
    2. The example linked to above requires a package called papaja. Where is it located, or can you provide a reproducible example that isn't dependent on it? It's not a CRAN contributed package: https://cran.r-project.org/web/packages/available_packages_by_name.html#available-packages-P
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions