integrate standalone installation of tinytex with R

I am on a linux machine. I installed Tinytex on my $HOME/.Tinytex folder for general latex work. But I also want my R to use the same installation. Is there a way tell the R package manager to identify my directory?

Do you have the tinytex package installed? You will need that. Once you have it installed, you can use

tinytex::is_tinytex()
tinytex::tinytex_root()

to identify if and from where TinyTeX is used. If that comes up empty, you can use tinytex::use_tinytex() to register your TinyTeX installation.

1 Like

This works! Does that mean I can also manage tinytex with R instead of tlmgr?

Yes, you can manage the TeX distribution TinyTeX using the tinytex R package instead of using the tlmgr command in a terminal.

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.