-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Error when using tinytex::install_tinytex - missing argument in paste0 #69
Comments
As a follow up, once I tried to knit a document after installing TinyTex, I get the following error:
I thought it might be a PATH issue so I added the output of I am not sure whether this has to do with how I did the installation or not. Any help would be greatly appreciated. |
Sorry about that. There was an extra comma in The PATH issue should not exist if you restart RStudio after installing TinyTeX. |
Thanks @yihui ! After reinstalling the development version and rerunning the function the installation works correctly. I guess the installation wasn't complete when I ran the function with Thanks for taking care of this so quickly! |
Hi @yihui, I am also having the same problem while knitting to a PDF. I used all the debugging steps mentioned on your website. I am getting the following error. I tried to uninstall and reinstall it but I am getting the same error. I am using R4.0. Could you please tell me how can I fix it? Thanks. When I am running |
Hi @yihui can you please help with my error I am getting similar error can you please look into that. Error in aperm.default(map, c(2, 1, 3)) : No LaTeX installation detected (LaTeX is required to create PDF output). You should install a LaTeX distribution for your platform: https://www.latex-project.org/get/ If you are not sure, you may install TinyTeX in R: tinytex::install_tinytex() Otherwise consider MiKTeX on Windows - http://miktex.org MacTeX on macOS - https://tug.org/mactex/ Linux: Use system package manager |
@virtiparekh That's the error. I don't see how this error is similar to the one in the original post above. It looks like a completely different error and is unlikely to be relevant to tinytex.
Have you done what the message suggested you do? |
Hi,
I was trying to install
TinyTex
this morning viatinytex::install_tinytex
and ran into a weird error. I got the same error from both the current CRAN release (0.7) and the current devel version. Here is the error:As expected, given the error message, when I restarted my R and Rstudio session
tinytex:::is_tinytex()
returnedFALSE
. I looked through the source code and it looks like the issue is here. I am not entirely sure what is causing the issue, since I don't see any issues with thepaste0
call. However, this was the only thing stopping the installing. I randebug(tinytex::install_tinytex())
and ran everything but those few lines and it looks likeTinyTex
installed properly. After restarting my session,tinytex:::is_tinytex
returnedTRUE
.I thought it was worthwhile to report this, as I am not sure whether other people have run into this before.
Thanks for the great packages!
The text was updated successfully, but these errors were encountered: