尝试编织为pdf时,R Markdown为什么会给我LaTeX错误?

时间:2020-11-02 13:02:26

标签: r r-markdown

我正在尝试使用R Markdown编织PDF文档。降价成功编织到100%,但是在尝试创建输出文件时,会产生以下错误:

output file: project_2_cusack.knit.md

/Applications/RStudio.app/Contents/MacOS/pandoc/pandoc +RTS -K512m -RTS project_2_cusack.utf8.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output project_2_cusack.tex --self-contained --highlight-style tango --pdf-engine pdflatex --variable graphics --lua-filter /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmd/lua/pagebreak.lua --lua-filter /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmd/lua/latex-div.lua --variable 'geometry:margin=1in' 
! Output loop---100 consecutive dead cycles.
\end@float ... \@tempdima \penalty \@floatpenalty 
                                                  \else \vadjust {\penalty -...
l.385 \end{figure}

Error: LaTeX failed to compile project_2_cusack.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See project_2_cusack.log for more info.
Execution halted

我已经指定要另存为PDF,所以不确定为什么要尝试将其编织为tex文件。

有任何有关故障排除的建议吗?

0 个答案:

没有答案