Flexdashboard到RStudio之外的html

Flexdashboard到RStudio之外的html,r,knitr,r-markdown,flexdashboard,R,Knitr,R Markdown,Flexdashboard,我试图在linux服务器上手动编织flexdashboard,方法是使用带有 knit('myfile.Rmd', 'myfile.md') # creates md file 然后 markdownToHTML('myfile.md', 'myfile.html') # creates html file 但当我在Web服务器上打开myfile.html时,我看不到我的flexdashboard,只有R代码,比如库命令和代码。 您能帮助我吗?您是否尝试过rmarkdown::render(

我试图在linux服务器上手动编织flexdashboard,方法是使用带有

knit('myfile.Rmd', 'myfile.md') # creates md file
然后

markdownToHTML('myfile.md', 'myfile.html') # creates html file
但当我在Web服务器上打开myfile.html时,我看不到我的flexdashboard,只有R代码,比如库命令和代码。
您能帮助我吗?

您是否尝试过
rmarkdown::render(input=“myfile.Rmd”,output\u format=“html\u document”)
?是的,但我遇到了pandoc错误:需要pandoc版本1.12.3或更高版本,但找不到(请参阅帮助页面?rmarkdown::pandoc\u可用)我已经按照本文档在R控制台中安装了pandoc rmarkdown::pandoc_available()[1]true您是否尝试过
rmarkdown::render(input=“myfile.Rmd”,output_format=“html_document”)
?是的,但我遇到了pandoc错误:需要pandoc 1.12.3或更高版本,但找不到(请参阅帮助页?rmarkdown::pandoc_available),我已经按照本文档在R控制台中安装了pandoc rmarkdown::pandoc_available()[1]TRUE