Re: [Rd] texi2pdf doesn't find the correct MikTex installation due to erroneous Sys.which()

2017-06-27 Thread Joris Meys
; -Original Message- > From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of Joris > Meys > Sent: Tuesday, June 27, 2017 10:43 AM > To: r-devel@r-project.org > Subject: [Rd] texi2pdf doesn't find the correct MikTex installation due to > erroneous Sys.which()

Re: [Rd] texi2pdf doesn't find the correct MikTex installation due to erroneous Sys.which()

2017-06-27 Thread Rich Calaway via R-devel
\\bin\\texify.exe" Cheers, Rich Calaway Microsoft R Product Team 24/1341 +1 (425) 4219919 X19919 -Original Message- From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of Joris Meys Sent: Tuesday, June 27, 2017 10:43 AM To: r-devel@r-project.org Subject: [Rd] texi2pdf do

[Rd] texi2pdf doesn't find the correct MikTex installation due to erroneous Sys.which()

2017-06-27 Thread Joris Meys
I checked after this question popped up on Stackoverflow: https://stackoverflow.com/questions/44785961/compile-pdf-in-rstudio-works-but-knit2pdf-does-not-work-in-r-or-rstudio On Windows, texi2pdf looks for the texify.exe of Miktex, but looks in a very wrong place: > Sys.which("texify")