I am having some trouble using MikTeX (v2.9) on windows 7 (64 bit) with RStudio (v1.1.447; R v 3.5.0). Despite the fact that I have installed the complete MikTeX, RStudio keeps telling me that no LaTex tool has been found when trying to knit any
I’ve tried the answer given in a similar post (RStudio Can't Find pdflatex On Windows 7) by running
Sys.setenv(PATH = paste(Sys.getenv("PATH"), "C:\\Users\\myname\\AppData\\Local\\Programs\\MikTex 2.9\\miktex\\bin", sep=.Platform$path.sep))
and it does not work.
It is funny because I have the same conficuration on another machine (though versions might differ) and it works smoothly. Any hints?