I was using MacTex on OSX 10.10 (Yosemite). I upgraded to OSX 10.11 (El Capitan) and now I get the error "No TeX installation detected" trying to compile a latex document using knitr.

I saw the writeup about this issue here and some fixes like this one, but I was wondering if I could just install the latest version of MacTex or if that would create any problems?

  • 1
    Could downvoters please leave a comment explaining what's wrong with this question? – Ian Thompson Oct 12 '15 at 22:17
  • 1
    @IanThompson OP asked if it was "safe" to reinstall MacTeX. Presumably this means something to him, but it's unclear to me, particularly in relation to the knitr error posed. He also linked to the MacTeX page which explicitly talks about installing MacTeX on El Capitan and has a document describing path changes necessary to use it. – Adam Maxwell Oct 13 '15 at 0:56
  • @AdamMaxwell --- fair enough, but I would ask for clarification before downvoting. – Ian Thompson Oct 13 '15 at 8:58

For anyone stumbling upon this, I reinstalled MacTex and everything worked as expected.

| improve this answer | |
  • How did you do that? – G. 't Hooft May 22 '16 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.