简体   繁体   English

找不到Pandoc版本1.12.3

[英]Pandoc version 1.12.3 was not found

By using sudo R, I can't find in my shinyApp the pandoc and I get this message. 通过使用sudo R,无法在我的ShinyApp中找到pandoc,并且收到此消息。

Warning: Error in : pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).

When I do: 当我做:

rmarkdown::pandoc_available()

I get 我懂了

FALSE

When I do: 当我做:

pandoc -v

I get 我懂了

pandoc 1.17.2
...
Default user data directory: /home/scenerydev/.pandoc
Copyright (C) 2006-2016 John MacFarlane
Web:  http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness for a particular purpose.

But when I do 但是当我这样做

Sys.getenv("RSTUDIO_PANDOC")

I get 我懂了

""

I don't have Rstudio installed. 我没有安装Rstudio。 Do I need to have it installed in order to find the pandoc? 我需要安装它才能找到pandoc吗? I run a Centos 7 x64-bit server and I was hoping I could bypass the rstudio installation, since it does not provide anything to my services. 我运行的是Centos 7 x64位服务器,我希望可以绕过rstudio安装,因为它无法为我的服务提供任何东西。 If not, how can I define the env of the pandoc? 如果没有,如何定义Pandoc的环境?

Although this is not a straightforward answer, what I ended up doing, was installing rstudio-server instead, so that I can get a much more lightweight solution to solve my problem. 尽管这不是一个简单的答案,但我最终要做的是安装了rstudio-server,以便我可以使用更轻量的解决方案来解决我的问题。 I did not find any other way of bypassing this issue. 我没有找到其他任何绕过此问题的方法。 I am open to suggestions if something comes up. 如果出现问题,我愿意提出建议。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 找不到 pandoc“样式”扩展名 - pandoc "styles" extension not found rmarkdown:pandoc:找不到 pdflatex - rmarkdown: pandoc: pdflatex not found 更新到 R 版本 3.4.2 后,pandoc 文档转换失败,错误 1 - pandoc document conversion failed with error 1 after update to R version 3.4.2 Pandoc 2.7.3 版无法将 knitr .tex 文件转换为 .docx - Pandoc version 2.7.3 fails to convert knitr .tex file to .docx 在Rstudio 0.98.994上编织到Pdf时出现Inputenc / Pandoc错误 - Inputenc/Pandoc error when knit to Pdf on Rstudio Version 0.98.994 RHEL 6.5上的Rstudio服务器pandoc错误ifluatex.sty未找到 - Rstudio-server on RHEL 6.5 pandoc error ifluatex.sty not found devtools :: build_vignettes产生“错误:无效版本规范'pandoc.exe 1.13.1' - devtools::build_vignettes yields "Error : invalid version specification 'pandoc.exe 1.13.1' 使用具有可伸缩性的Rmd输入文件遍历数据会导致pandoc版本错误-但是在没有循环的情况下可以正常工作吗? - Looping through data with Rmd input file with flextable results in pandoc version error - but works fine without the loop? Shinyloadtest:错误:请升级您的pandoc版本至少为v2.2 - Shinyloadtest: Error: Please upgrade your pandoc version to be at least v2.2 编织 ggplot 导致在资源路径中找不到 figure-html/:pandoc 转换错误 99 - Knitting a ggplot causing figure-html/ not found in resource path: pandoc conversion error 99
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM