-
Notifications
You must be signed in to change notification settings - Fork 8
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
How to include in pdf markdown? #9
Comments
Do you have DiagrammeRsvg installed? |
I do. I got an informative error message saying that I needed to install it. |
Ok I just tried (it's been a while) and I needed to install the package rsvg to have it working. Then the following code should generate a PDF: qmd(qmd_info = examples$onecomp, save_qmd = TRUE, format = "pdf", file_name = "one_comp.pdf") |
Thanks! That pointed me in the right direction, and the following was able to insert the figure into .pdf output of knitr/rmarkdown. Note that the inclusion of the image file is outside of the code chunk.
|
Are the |
I see the
format="pdf"
option toqmd()
, but I couldn't get it to work for with knitr/rmarkdown in Windows. What is required to insert modelviz output in a .pdf in Windows?The text was updated successfully, but these errors were encountered: