Using rmarkdown with TeX Live 2019: the directory /usr/local/texlive/2019/tlpkg/ is not writable.

Stuff happens Thanks for marking your answer as the solution. I'll add that to my mental debugging checklist. Stay well, too

Thank you, I solved a similar problem installing the missing LaTeX package from Terminal with sudo credentials (manually) But, in order to fix this issue for the future I think it would be really useful to know if we can call tlmgr from tinytex package inside Rstudio with root privileges.

The TinyTex FAQ talk about root priviledge installation. Have you already seen it ?

Thank you, again.
TinyTex FAQ is very interesting, but I didn't find a proper solution. usermode does not seem very useful.
In my opinion, the problems came from installing TeX Live from Terminal. I recommend installing it from tinytex.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.