Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/66.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R 尝试渲染站点时出现pandoc错误_R_R Markdown_Pandoc_Bookdown_Pandoc Citeproc - Fatal编程技术网

R 尝试渲染站点时出现pandoc错误

R 尝试渲染站点时出现pandoc错误,r,r-markdown,pandoc,bookdown,pandoc-citeproc,R,R Markdown,Pandoc,Bookdown,Pandoc Citeproc,我正在尝试在Linux上使用R(不是R Studio,我们的集群只有基本R)使用rmarkdown/bookdown呈现一个站点 我被告知pandoc安装在集群上,应该按预期工作。事实上,它似乎确实安装了 当我尝试呈现我的站点或单个页面时,会出现以下错误: /usr/bin/pandoc +RTS -K512m -RTS 01_GettingStarted.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_

我正在尝试在Linux上使用R(不是R Studio,我们的集群只有基本R)使用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后失败的原因。

正如错误消息所说,您没有安装
pandoc citeproc
。您需要
pandoc citeproc
来处理参考书目。

谢谢您的回答。我集群的维护者说他已经安装了pandoc和pandoc citeproc。这个错误是否意味着情况并非如此?我不能在集群上安装sudo,所以我有什么方法可以自己安装吗?行
找不到可执行的pandoc citeproc
表明
pandoc citeproc
没有安装在集群上,您需要通过技术支持解决这个问题(我不知道有任何选项不需要sudo访问)。考虑尝试在本地Linux安装上构建文档并测试该问题是否真正由丢失的代码> BANOC CITEPROC 引起。如果安装<代码> PANOC CITEPROC 解决这个问题,请考虑接受和关闭。这个问题确实是由<代码> PANOC CITEPROC < /COD>未安装引起的。以前,我将一个本地pandoc和pandoc citeproc可执行文件传输到集群,并将
Sys.setenv
RSTUDIO_pandoc
传输到R中的这个文件夹。但是,这已经不起作用了。在我解决这个问题之前,最后两个问题是:(1)您知道为什么将可执行文件传输到集群并设置这个变量不再起作用了吗?(2)如果未安装pandoc citeproc,是否有其他方式在我的网站中使用参考书目?提前感谢您的帮助。关于您的问题:1)在这里或linux/unix()下创建一个新问题,我没有这样的经验/知识。2) 我认为最好的解决方案是让您的技术支持安装pandoc citeproc。否则,我不知道任何其他选项,请查看手册。非常感谢你的帮助。