HertieDataScience / SyllabusAndLectures

Hertie School of Governance Introduction to Collaborative Social Science Data Analysis
MIT License
37 stars 60 forks source link

Mac: Issue with sweave/knitting after upgrading #15

Open kylejott opened 9 years ago

kylejott commented 9 years ago

Hey there,

I made the mistake up upgrading to the new Mac OSX before completing assignment 2 and ran into problems trying to use knit to pdf. I kept getting the error saying that pdflatex was not installed. Apparently, every time Apple updates it's software, some of the latex installations change their path files.

Here is the solution for Yosemite: http://stackoverflow.com/questions/25090788/sweave-not-working-in-rstudio-found-path-but-how-to-set

Here is the solution for Mavericks: http://stackoverflow.com/questions/22081991/rmarkdown-pandoc-pdflatex-not-found

Hope that helps, Kyle

christophergandrud commented 9 years ago

Thanks for posting.