R Markdown failed to compile tex file

rmarkdown

#1

Hi all! I just started using R Markdown. I created a .Rmd document and tried to knit it to pdf in R Studio. It failed with this error message:

Error: Failed to compile xxxxxx.tex. See xxxxxxx.log for more info.
Execution halted

I'm using R Studio through Anaconda and I have MacTex installed. I also checked pdflatex.

Sys.which('pdflatex')
pdflatex
"/Library/TeX/texbin/pdflatex"

Any help/guidance will be much appreciated!


#2

If you share the content of xxxxxxx.log maybe we can help you, otherwise we have not enough information.


closed #3

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.