[R] Error building package: LaTeX error when creating PDF version

Patrick Perry patperry at stanford.edu
Tue May 5 20:13:00 CEST 2009


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




More information about the R-help mailing list