2

I'm trying to knit to PDF using an .rmd file. It failed and suggested I look:

https://yihui.org/tinytex/r/#debugging for debugging tips.

The second step is to run tinytex::tlmgr_update(), however this returns:

tlmgr update --all --self

Error in system2("tlmgr", args, ...) : '"tlmgr"' not found

How should I proceed?

Rafael
  • 3,096
  • 1
  • 23
  • 61
  • What´s your OS? I´ve once given an answer here, perhaps it will also help you: https://stackoverflow.com/questions/60489469/xdef-fontencloadlist-fontencloadlist-undefined-control-sequence-in-rmark/60493558#60493558 – J_F Dec 31 '20 at 13:59

2 Answers2

2

I would try running:

tinytex:: install_tinytex()

then try running:

update.packages(ask = FALSE, checkBuilt = TRUE)
tinytex::tlmgr_update()
Martin Gal
  • 16,640
  • 5
  • 21
  • 39
SKimatian
  • 21
  • 2
0

Try tinytex:::install_prebuilt(). I found this solution that worked for me at https://community.rstudio.com/t/cannot-install-tinytex/129302

Tamas Nagy
  • 1,001
  • 12
  • 22