首页 新闻 会员 周边

Rstudio生成pdf报告是编译失败

0
悬赏园豆:10 [已关闭问题] 关闭于 2020-02-29 17:05

错误提示如下,请问是什么原因?

output file: Untitled.knit.md

! sh: pdflatex: command not found

Error: LaTeX failed to compile Untitled.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Untitled.log for more info.
In addition: Warning message:
In system2(..., stdout = if (use_file_stdout()) f1 else FALSE, stderr = f2) :
error in running command
Execution halted

系统macos,下载pdflatex包的时候提示这个包已经不适合我使用的这个版本的rstudio了。
也下载了MaxTex,好像还是不行。

啵啵耶啵的主页 啵啵耶啵 | 初学一级 | 园豆:161
提问于:2020-02-29 16:58
< >
分享
所有回答(1)
0

我傻,see➡️https://yihui.org/tinytex/r/#debugging qaq。。。
一条一条试,试到update tinytex这个包就解决了。

啵啵耶啵 | 园豆:161 (初学一级) | 2020-02-29 17:05
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册