Skip to content
Prev 179344 / 398506 Next

Error building package: LaTeX error when creating PDF version

I recently came across the same problem reported here:

http://tolstoy.newcastle.edu.au/R/e6/help/09/04/12383.html

The fix was to edit "$R_HOME/etc/Renviron" and change

R_PDFLATEXCMD=${R_PDFLATEXCMD-${PDFLATEX-'/usr/texbin/pdflatex'}}

to

R_PDFLATEXCMD=${R_PDFLATEXCMD-${PDFLATEX-'pdflatex'}}

with similar modifications to the other TeX-related commands.


Patrick