-----Original Message-----
From: JJ Allaire [mailto:jj at rstudio.com]
Sent: March-17-15 12:20 PM
To: John Fox
Cc: Simon Urbanek; Berend Hasselman; r-sig-mac at r-project.org
Subject: Re: [R-SIG-Mac] checking for pdflatex
Actually, I already looked at the code in rmarkdown and tried exactly
this. On my Mac under R.app, where the default path is
[1] "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
I get
rmarkdown:::find_program("pdflatex")
Sorry if this was part of the thread already, but where is your pdflatex? In my
configuration based on MacTeX it's in /usr/texbin. In RStudio we get this on
the PATH by reading the OSX PATH configuration (i.e. /etc/paths and
/etc/paths.d/*).