Kniting R markdown document to PDF

53 Views Asked by At

I know that similar questions exist, but i recently updated R studio, and I now cannot knit to pdf

output file: assigment-1-v2.knit.md


tlmgr.pl: Remote database (revision 70146 of the texlive-scripts package)
seems to be older than the local installation (rev 70172 of
texlive-scripts); please use a different mirror and/or wait a day or two.

tlmgr update --self

tlmgr.pl: Remote database (revision 70146 of the texlive-scripts package)
seems to be older than the local installation (rev 70172 of
texlive-scripts); please use a different mirror and/or wait a day or two.

! LaTeX Error: File `pdflscape.sty' not found.

! Emergency stop.
<read *> 

Error: LaTeX failed to compile assigment-1-v2.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See assigment-1-v2.log for more info.
Execution halted

I have tried updating tidytex but it did not work!

Any help would be greatly appreciated, I do not understand what the error means!

0

There are 0 best solutions below