如何解决Rmarkdown PDF编织错误?

时间:2020-01-01 07:17:38

标签: r r-markdown knitr

每当我尝试将Rmarkdown编织为pdf时,都会显示以下错误

"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS TestNovice.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output TestNovice.tex --template "M:\Documents\Temp\rmarkdown\rmd\latex\default-1.17.0.2.tex" --highlight-style tango --latex-engine pdflatex --variable graphics=yes --variable "geometry:margin=1in" --variable "compact-title:yes" 
output file: TestNovice.knit.md

! pdfTeX error (font expansion): auto expansion is only possible with scalable 
fonts.
\AtBegShi@Output ...ipout \box \AtBeginShipoutBox \fi \fi 
l.163 Note that the \texttt{echo\ =\ FALSE} parameter was added to the code 

Error: Failed to compile TestNovice.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See TestNovice.log for more info.
Execution halted

我在PC上安装了MiKTeX,但没有运气。您对这种情况有什么建议吗?谢谢

0 个答案:

没有答案