R MarkDown 错误:需要 pandoc 版本 1.12.3 或更高版本,但未找到
我正在使用 R Studios Cloud,但突然在以任何格式(html、pdf 和 word)编写 Markdown 时遇到困难。
这是我按下 knit 按钮时抛出的错误:
pandoc version 1.12.3 or higher is required and was not found (see the help page ?
rmarkdown::pandoc_available).
Execution halted
然后我检查是否通过 pandoc_available() 安装了 pandoc:
> pandoc_available()
[1] FALSE
False,所以我尝试再次安装 pandoc? (我不记得卸载过它)
> installr::install.pandoc()
sh: 1: ifconfig: not found
Error in system("ifconfig", intern = TRUE) : error in running command
但是,我再次收到 ifconfig: not found 的另一个错误。
我对学习 R 和整个编程很陌生。我很困惑。我检查了最近的线程,包括流行的解决方案(下面链接),但无济于事。
我还尝试打开一个新的降价文件,但仍然无法让 knit 工作。
如果对此有任何帮助,我将不胜感激。
I'm using R Studios Cloud but I am suddenly experiencing difficulty knitting my markdown in any format (html, pdf & word).
This is the error I'm thrown when I press the knit button:
pandoc version 1.12.3 or higher is required and was not found (see the help page ?
rmarkdown::pandoc_available).
Execution halted
I then check if pandoc is installed via pandoc_available():
> pandoc_available()
[1] FALSE
False, so I try to install pandoc again? (I do not recall uninstalling it)
> installr::install.pandoc()
sh: 1: ifconfig: not found
Error in system("ifconfig", intern = TRUE) : error in running command
However, again I get another error for ifconfig: not found.
I am new to learning R and programming as a whole. I'm quite stumped. I have checked recent threads including popular solutions (linked below) to no avail.
I have also tried opening a new markdown file but still could not get knit to work.
I'd appreciate any help on this one.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
找到了解决方案。
单击右上角的 3 个点重新启动您的项目。
请参阅此处的帖子。
这似乎是过去 24 小时内许多 R Studio Cloud 用户发生的常见错误。
Found the solution.
Relaunch your project by clicking on the 3 dots in the upper right corner.
See thread here.
Seems to be a common error happening to a lot of r studio cloud users in the past 24 hours.