RStudio针对PDF执行暂停

时间:2018-03-16 11:00:28

标签: r pdf rstudio knitr

当我尝试在RStudio中将.Rmd文件编织为PDF时,出现以下错误:

Output created: regression.pdf
Error in tools::file_path_as_absolute(output_file) : 
  file 'regression.pdf' does not exist
Calls: <Anonymous> -> <Anonymous>
In addition: Warning messages:
1: running command '"pdflatex" -halt-on-error -interaction=batchmode "regression.tex"' had status 1 
2: In readLines(logfile) : incomplete final line found on 'regression.log'
Execution halted

我之前尝试了一些其他建议(安装MiKTeX;安装Pandoc)并安装我之前看到的错误消息中建议的任何软件包。有没有人知道解决这个问题的方法?我在这里看过各种关于Knit to PDF困难的帖子,但没有一个与此相同。

0 个答案:

没有答案