rmarkdown::render to compile LaTeX documents
问题 This example LaTeX file compiles just fine for me using Rstudio, TexShop, and pdflatex example.tex . But rmarkdown::render does not work. > rmarkdown::render("example.tex", output_format = "pdf_document") /usr/local/bin/pandoc +RTS -K512m -RTS example.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output example.pdf --template /Library/Frameworks/R.framework/Versions/3.3/Resources/library/rmarkdown/rmd/latex/default.tex --highlight-style