install_tinytex {tinytex} | R Documentation |
The function install_tinytex()
downloads the installation script from
https://github.com/yihui/tinytex according to the platform (Unix or
Windows), and executes it to install TinyTeX (a custom LaTeX distribution
based on TeX Live). The function uninstall_tinytex()
removes TinyTeX;
reinstall_tinytex()
reinstalls TinyTeX as well as previously installed
LaTeX packages by default; tinytex_root()
returns the root directory
of TinyTeX if found.
install_tinytex( force = FALSE, dir = "auto", repository = "ctan", extra_packages = NULL, add_path = TRUE ) uninstall_tinytex(force = FALSE, dir = tinytex_root()) reinstall_tinytex(packages = TRUE, dir = tinytex_root(), ...) tinytex_root(error = TRUE)
force |
Whether to force to install (override) or uninstall TinyTeX. |
dir |
The directory to install or uninstall TinyTeX (should not exist
unless |
repository |
The CTAN repository to be used. By default, a random fast
mirror is automatically chosen (via |
extra_packages |
A character vector of extra LaTeX packages to be installed. |
add_path |
Whether to run the command |
packages |
Whether to reinstall all currently installed packages. |
... |
Other arguments to be passed to |
error |
Whether to signal an error if TinyTeX is not found. |
See the TinyTeX documentation (https://yihui.org/tinytex/) for the default installation directories on different platforms.