Specify Miktex Path in Rstudio

Question:

I'm trying to compile an .rmd file to pdf using Rstudio's Knitr. As I am using a computer (Windows 7) with permission restrictions, I had to install MikTeX in the Documents folder and Rstudio is not finding this installation. I would like to know if, in Rstudio, there is a way to directly specify the path of installation of MikTex.

When I try to run Knit PDF, the following error message is sent:

No TeX installation detected (TeX is required to create PDF output).

Answer:

I found that Rstudio finds the installation without any problems. In my case it wasn't working because I installed MikTeX basic , and Knitr requires the installation of the full version. After installing the full version, I was able to compile normally.

Scroll to Top