Skip to content
Back to formatted view

Raw Message

Message-ID: <33B41FC1-7582-4935-94C4-3DCD875E5952@stanford.edu>
Date: 2009-05-05T18:13:00Z
From: Patrick Perry
Subject: 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