admin管理员组文章数量:1352233
I followed all of Yihui's debugging steps here: . I am knitting a Rmarkdown file from within an R script (as I have some variables that change value every time I want to knit). I create a folder to put all files in first, then call:
rmarkdown::render('reports.Rmd', output_file = "XXX.pdf"))
The first time it stops knitting halfway through, complaining that it can't find the pdf figures in the temp figure-latex folder. I check the folder, and it is indeed empty. The second time I run the code, all the figures are in the temp figure-latex folder, and it does knit to the end, but fails when trying to convert the .tex file to pdf with the following error (YYY and XXX redacted):
tlmgr search --file --global "/YYY/figure-latex/percentage-categories-1.pdf" ! Package pdftex.def Error: File `/YYY/figure-latex/percentage-categories-1.pdf' not found: using draft setting.
Error: LaTeX failed to compile ../XXX.tex.
Sorry, I can't think of a way to post a reproducible example, as I think it has to do with the latest update of tlmgr or pdftex.def?
本文标签:
版权声明:本文标题:r - Updated tlmgr as requested by tinytex, and now knitting the markdown file to pdf can't find the figures created with 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743914434a2560971.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论