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!