Trying to Knit in R Markdown but PDF doesn't work. Please help!


Hi all! Started using R again after a long time. I have been having problems when knitting the document to a PDF file. Tried several solutions online but no success at all.

There is an issue with your rendering when using MikTeX.

You need to look into the log file mention. Maybe this is just a missing package.
Auto installation will only work with TeX Live and not MikTeX.

You can install TinyTeX, which is known to work well with R Markdown

Without more information on the error, it will be hard to help further. You need to find the LaTeX rendering error at least