# Install the R Package install.packages("tinytex") # Use the package to install Latex tinytex::install_tinytex()