Hi. I'm using R Sweave to write a latex document. When I compile with XeLaTeX I have no problems but XeLaTeX does not allow me to insert images into my document. When changing to pdfLaTeX (which does allow inserting images) it throws me the following error:
Running error C: /PROGRA~1/MiKTeX/miktex/bin/x64/pdflatex.exe (exit code 1)
the path of pdfLaTeX is:
Sys.which ('pdflatex')
pdflatex
"C: \\ PROGRA ~ 1 \\ MiKTeX \\ miktex \\ bin \\ x64 \\ pdflatex.exe"
Your help please