Generating R markdown knit PDF files without any errors

I was trying to look out for ways to generate a document with R code and it’s output in PDF format in R Studio. However, I faced issues in knit PDF output. This is a steps which I followed which got me to the working example of generating beautiful LATEX Pdf.

  1. Start miktex console.
  2. Click on “settings”.
  3. Then choose “Always install missing packages on the fly”
  4. Close the console.
  5. Rebuild the RmarkDown file.

Reference

https://community.rstudio.com/t/rmarkdown-knit-pdf-issues/10102/7

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.