[英]Create PDF report with knit in R
I am trying to create PDF with knit without success. 我正在尝试使用编织创建PDF,但没有成功。 My HTML is good.
我的HTML很好。 I get the following error:
我收到以下错误:
output file: relJanFev_v2_pdf.knit.md !
输出文件:relJanFev_v2_pdf.knit.md! Dimension too large.
尺寸太大。 \\wd \\@tempboxa Error: Failed to compile relJanFev_v2_pdf.tex.
\\ wd \\ @tempboxa错误:无法编译relJanFev_v2_pdf.tex。 See relJanFev_v2_pdf.log for more info.
有关更多信息,请参见relJanFev_v2_pdf.log。 In addition: Warning message: running command '"pdflatex" -halt-on-error -interaction=batchmode "relJanFev_v2_pdf.tex"' had status 1 Execution halted
另外:警告消息:运行命令““ pdflatex”-错误停止-interaction = batchmode“ relJanFev_v2_pdf.tex”'的状态为1执行中止
I have a lot of plots, that I'm generating with ggiraph and ggplot2. 我有很多用ggiraph和ggplot2生成的图。
Difficult to be sure, but ggiraph is for interactive graphs and you definitely cant have those in a pdf. 很难确定,但是ggiraph是用于交互式图形的,您绝对不能在pdf中包含这些图形。 Did you ever get a build to work with one graph, before attaching a bunch?
在附加一堆图形之前,您是否曾经获得过使用一个图形的版本? pdf builds are temperamental and it is best to do it incrementally.
pdf版本很气质,最好逐步进行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.