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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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