我無法使用knitr包在Rstudio中創建輸出。 我有這個問題數週。我收到以下錯誤:無法從Rstudio中的knitr創建PDF輸出
"Error: pandoc document conversion failed with error 43
另外我收到此警告消息:
running command '"C:/Users/Krish/AppData/Local/Pandoc/pandoc" +RTS -K512m -RTS assignment1.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures --output assignment1.pdf --template "C:\Users\Krish\Documents\R\win-library\3.1\rmarkdown\rmd\latex\default-1.14.tex" --highlight-style tango --latex-engine xelatex --variable "geometry:margin=1in"' had status 43"
你有沒有正確安裝MiKTeX? – jeremycg
我已經安裝了它。如何知道它是否安裝正確? –
您可以檢查[最小LaTeX示例](https://en.wikibooks.org/wiki/LaTeX/Basics#The_LaTeX_syntax)是否編譯。 –