I am trying to use RStudio and knitr to produce PDF files on Windows 10. There is no LaTex on my computer. When clicking "Compile PDF" button, I have this error message:
LaTex Error: File 'framed.sty' not found.
==>Fatal error occurred, no output PDF file produced.
Presumably you were using MiKTeX on Windows. You can use its package manager to install a missing package: https://docs.miktex.org/manual/pkgmgt.html