Hi! I am very new to RStudio and pandoc. I am trying to convert demo markdown to docx using pandoc. The RStudio R Markdown console outputs the following command to execute the transformation:
/usr/local/bin/pandoc +RTS -K512m -RTS abc.utf8.md --to docx --from markdown+autolink_bare_uris+tex_math_single_backslash+smart --output abc.docx --highlight-style tango --lua-filter /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rmarkdown/rmd/lua/pagebreak.lua
However when I try to run it from the terminal I get:
pandoc: abc.utf8.md: openBinaryFile: does not exist (No such file or directory)
Any idea what I do wrong?
I use MacOS.