-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
detected an existing LaTeX distribution #102
Comments
Here is output from the
I believe another possible solution to rstudio/rmarkdown#39 (comment) would be to update the dependency requirements in R-3.5.2-2.el7.src so that texlive-titling, and/or texlive-latexextra is installed, depending on linux flavor. |
It is a shame that building R from source requires the Anyway, I don't know why you have to build R from source, but the |
I have turned this error into a warning, since it is not really harmful to have two LaTeX distributions installed on the same machine. The only caveat is when you call LaTeX directly, you may need to know which distribution you are using. For R and tinytex package users, there is nothing to worry about since I have taken care of everything behind the scenes (TinyTeX will always be used if installed). |
One additional thought: if tinytex is required for RStudio's knit-to-pdf functionality, maybe it should be installed on the system when installing RStudio. Or when running knit-to-pdf and tinytex is not detected, RStudio should test and recommend the installation. |
It is technically easy to bundle TinyTeX with RStudio. The only problem is that the licenses of LaTeX and its packages are complicated (FAQ 2: https://yihui.name/tinytex/faq/). TinyTeX is not required but recommended for knitting R Markdown to PDF. |
For others who stumble upon this like me: This is due to |
In reference to rstudio/rmarkdown#39 (comment)
I attempted to run
tinytex::install_tinytex()
, but receive:There seems to be a conflict between the LaTeX version that is installed by default (via yum builddep R texlive, recommended by RStudio here: https://support.rstudio.com/hc/en-us/articles/218004217-Building-R-from-source), and what is being recommended in the above-referenced issue. Unless the official recommendation is to install texlive and then force the tinytex installation.
Please let me know if I have misunderstood something. Thank you for your help.
The text was updated successfully, but these errors were encountered: