Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tinytex installation issue #449

Open
Maggie647 opened this issue Sep 25, 2024 · 1 comment
Open

tinytex installation issue #449

Maggie647 opened this issue Sep 25, 2024 · 1 comment

Comments

@Maggie647
Copy link

Hi,
I've already installed the tinytex using install.packages

install.packages("tinytex)
tinytex::install_tinytex()

And I also received that it was installed successful (?), although got some notifications about English_United States not supported. Then I tried to knit my R markdown file into pdf, but I got the problem as in the screen shot.
Screenshot 2024-09-25 101713

Then I though maybe the installation was not successful, so I repeated the codes in the beginning again, but I was told that tinytex was already installed, if I want to install it again. I'm using the Windows, no idea how to figure it out.

@yihui
Copy link
Member

yihui commented Sep 25, 2024

Don't put these two lines of code in your Rmd document---you don't really want to run them every single time you knit the document. There is no need to install tinytex or TinyTeX over and over again. You only need to do it once (in the R console).

After installation, quit RStudio and re-open it. Check tinytex::is_tinytex() (should be TRUE).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants