Need help understanding how to fix an error




I am new to R Markdown. Several of us are working on a project. The code only runs on one person's machine. All the rest of us have the exact same files/syntax etc and get the following error when trying to convert a *.tex file to *.pdf

[1] "WARNING:   simpleWarning: running command '\"xelatex\" 
-halt-on-error -interaction=batchmode 
had status 1\n"

the tex file is produced but cannot be converted even manually from the drop down menu as a pdf.

Grateful for any insights.
Windows 10 with Rstudio, R, Stata, Pandoc and MikTex all installed.


It looks like you're running into a problem when it tries to call xelatex. Do you have that installed?

This guide might help:


Thank you for your response. I do see a file called xelatex.exe in the folder C:\Program Files\MiKTeX 2.9\miktex\bin\x64. However I do not see xelatex when I open up the miktex console and browse the packages.