[英]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.