2

我正在尝试使用 R(不是 R Studio,我们的集群只有基本 R)在 Linux 上使用 rmarkdown / bookdown 呈现站点。

有人告诉我 pandoc 已安装在集群上,应该可以按预期工作。确实,它似乎已安装。

当我尝试呈现我的网站或单个页面时,我收到错误:

/usr/bin/pandoc +RTS -K512m -RTS 01_GettingStarted.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output 01_GettingStarted.html --email-obfuscation none --bibliography ./DNAmArray.bib --standalone --section-divs --table-of-contents --toc-depth 2 --variable toc_float=1 --variable toc_selectors=h1,h2 --variable toc_collapsed=1 --variable toc_smooth_scroll=1 --variable toc_print=1 --template library/rmarkdown/rmd/h/default.html --highlight-style kate --css style.css --include-before-body /tmp/RtmpLe2AMT/rmarkdown-strff91562ed9d94.html --variable navbar=1 --variable body_padding=54 --variable header_padding=59 --variable 'theme:lumen' --include-in-header /tmp/RtmpLe2AMT/rmarkdown-strff91573dd14db.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --lua-filter /library/rmarkdown/rmd/lua/pagebreak.lua --lua-filter /library/rmarkdown/rmd/lua/latex-div.lua

运行过滤器 pandoc-citeproc 时出错:

找不到可执行的 pandoc-citeproc

错误:pandoc 文档转换失败,错误 83

任何帮助将不胜感激。我似乎无法弄清楚错误的含义或安装 pandoc 时为什么会失败。

4

1 回答 1

2

如错误消息所述,您尚未pandoc-citeproc安装。您需要pandoc-citeproc处理参考书目。

于 2020-06-23T12:55:22.250 回答