Could anyone please help me with some errors I am getting when trying to knit a markdown document in Rstudio? When trying to knit ANY R markdown document I am getting the error (screenshot also below):
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin Referenced from: /usr/local/bin/pandoc Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ____chkstk_darwin Referenced from: /usr/local/bin/pandoc Expected in: /usr/lib/libSystem.B.dylib
Error: pandoc document conversion failed with error 6 Execution halted
I already tried some things such as restarting Rstudio, re-downloading Pandoc, deleting and re-downloading both R and Rstudio and googling the error with no luck. Rstudio gives this error whenever I try to knit ANY markdown file, not just the ones with my code. It is particularly strange because I was knitting R markdown files with no issue a few days ago. Thanks for the help!
Hmm. This does not seem to be a fresh RStudio session, with a clean environment. (Note all the stuff in the environment tab.) Can you get rid of that, start fresh, and try with the default R markdown file stuff?