Re: [R] Cannot set correct miktex path for pdflatex

2018-08-14 Thread Richard M. Heiberger
You are getting the correct version. R is using the 8.3 version of the path. MS DOS often can't handle long MS Windows pathnames, particularly with blank space characters. MS therefore provides an 8.3 equivalent for all long names. C:\>dir /x prog* dir /x prog* Volume in drive C has no label. V

Re: [R] Cannot set correct miktex path for pdflatex

2018-08-14 Thread Eric Berger
Hi Claire, In Unix (linux) the 'which' command is documented as searching for the command according to the PATH environment variable. The different results from $ which and > Sys.which() would point to the fact that the PATH variable is different in the two cases. Compare: $ echo $PATH versus Sy

[R] Cannot set correct miktex path for pdflatex

2018-08-13 Thread Kelley, Claire
Hi all, I am having a problem in R where R is finding an old non existent version of miktex rather than the new version. This occurs despite having set the path to the correct location. For example in bash if I look for the location of pdflatex: $ which pdflatex /c/Program Files/MiKTeX 2.9/mik