[R-SIG-Mac] checking for pdflatex
JJ Allaire
jj at rstudio.com
Tue Mar 17 17:20:38 CET 2015
>
> Actually, I already looked at the code in rmarkdown and tried exactly this. On my Mac under R.app, where the default path is
>
>> Sys.getenv("PATH")
> [1] "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
>
> I get
>
>> rmarkdown:::find_program("pdflatex")
> [1] ""
>
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/*).
More information about the R-SIG-Mac
mailing list