Knit as pdf not work

Hey @sraab, welcome! In order to help you, we need you to make a reproducible example, or reprex. In particular, a few things would really help us get to the bottom of your problem:

  • A sample of the RMarkdown document you're trying to knit, and
  • The complete error you're getting.