Error Install "Tinytex"

Hi everyone, recently I started using RStudio for my Data Science degree. To save the Rmarkdown file as a .html, Rstudio says that I have to install a package called "Tinytex". When I install the package all seems to be ok, but when I try to save the Rmarkdown as a .html it says that the "tinytex" package is not install. (I will add some images of that).

There is anything wrong? There is another way to save it as a .html or .pdf file without that? I have been trying to solve this for days and I actually don't know what to do

When I install I get this in Console :

install.packages("tinytex")
Installing package into ‘C:/Users/rafel/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/tinytex_0.42.zip'
Content type 'application/zip' length 135551 bytes (132 KB)
downloaded 132 KB

package ‘tinytex’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\rafel\AppData\Local\Temp\RtmpWA3Set\downloaded_packages

And when I try to save (selecting knit on save) I get this in Render:

Thank you !

You have installed tinytex the R package, now you need to install TinyTeX the custom LaTeX distribution. Run this command:

tinytex::install_tinytex()
1 Like

This topic was automatically closed 21 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.