You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is not a set of latex and pandoc software installed on the localhost then the pdf options will throw the error in the title. I haven't tried this on a shiny server but it is certainly the case with local host instances.
The text was updated successfully, but these errors were encountered:
Solution:
Step 1: Download and Install MiKTeX from http://miktex.org/2.9/setup
Step 2: Run Sys.getenv("PATH") in R studio
This command returns the path where Rstudio is trying to find pdflatex.exe
In windows (64-bit) it should return C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe
If pdflatex.exe is not located in this location Rstudio gives this error code 41.
Step 3: To set this path variable run:
Sys.setenv(PATH=paste(Sys.getenv("PATH"),"C:/Program Files/MiKTeX 2.9/miktex/bin/x64/",sep=";"))
If there is not a set of latex and pandoc software installed on the localhost then the pdf options will throw the error in the title. I haven't tried this on a shiny server but it is certainly the case with local host instances.
The text was updated successfully, but these errors were encountered: