RStudio can't find pdflatex - no MIKTEX, or TinyTeX

If you don't need to particularly stick to Miktex, I would advice to use TinyTex distribution that is known to work well with Rmarkdown

In case it may help

2 Likes