Problem with knit and pandoc

Hi, I am tryng to knit a Markdown

I receive thie message

Error running filter C:\Users\User\AppData\Local\R\win-library\4.2\rmarkdown\rmarkdown\lua\pagebreak.lua:
cannot open C:\Users\User\AppData\Local\R\win-library\4.2\rmarkdown\rmarkdown\lua\pagebreak.lua: No such file or directory
Error: pandoc document conversion failed with error 83
Execution halted

RStudio and rmarkdown are installed and updated to last versions.
rmarkdown\rmarkdown\lua\pagebreak.lua exists
No clue what can be hapenning.
Even happens with the standard empty R Markdown document.

Many thanks

I have the same problem and also don't know how to solve it. :sob:

Seems like knitr is having issues calling pandoc.

Try reinstalling pandoc/ at master · jgm/pandoc · GitHub

Also try installing the knitr package.

Hi !

Sorry for the delay on this one. August is a slow month but I am back online now.

Is this still an issue ? There should be no need to upgrade pandoc. You should try latest rmarkdown and if this does not work, I'll help understand what is the problem.

If this file exist, I am not quite sure why it can't be found and opened.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.