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

Rendering/Knitting to PDF #24

Open
samjee410 opened this issue Nov 10, 2022 · 1 comment
Open

Rendering/Knitting to PDF #24

samjee410 opened this issue Nov 10, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@samjee410
Copy link

I've moved to using Rmarkdown and trying Quarto as well. I quickly ran into the issue of not being able to render/knit to PDF or Word. If you have issues you could try installing this in R:

tinytex::install_tinytex(version = "latest")
(further info relating to this here - rstudio/tinytex#326

I had error messages such as:

In Quarto

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/

In Rmarkdown

Error: LaTeX failed to compile test-knit.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips.
In addition: Warning message:
In system2(..., stdout = if (use_file_stdout()) f1 else FALSE, stderr = f2) :
  '"pdflatex"' not found
Execution halted
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/

I have of course viewed online searches for help, and tried the install of TinyText and running it before rendering to PDF/Word, but without luck. It's as though the latex package is not available for rendering to PDF/Word. Anyone face or overcome these issues ?

@craig-shenton craig-shenton added the help wanted Extra attention is needed label Nov 10, 2022
@craig-shenton
Copy link
Contributor

You might have to install using quarto, rather than as an R package:

quarto install tinytex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Development

No branches or pull requests

2 participants