r - 更新到 R 版本 3.4.2 后,pandoc 文档转换失败,错误 1

标签 r shiny flexdashboard

更新到 R 版本 3.4.2 后,我的 flexdashboard 文档不再工作。

即使我尝试运行该示例的副本 https://jjallaire.shinyapps.io/shiny-biclust/
我明白了

'Error: pandoc document conversion failed with error 1'



.

直到现在,我在网络搜索过程中都没有找到该错误的答案。
我还更新了所有软件包。

我的 session 信息:
R version 3.4.2 (2017-09-28)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=German_Austria.1252  LC_CTYPE=German_Austria.1252    LC_MONETARY=German_Austria.1252
[4] LC_NUMERIC=C                    LC_TIME=German_Austria.1252    

attached base packages:
[1] grid      stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] biclust_1.2.0    lattice_0.20-35  colorspace_1.3-2 MASS_7.3-47     

loaded via a namespace (and not attached):
 [1] flexclust_1.3-4   Rcpp_0.12.13      digest_0.6.12     rprojroot_1.2     jsonlite_1.5      backports_1.1.1  
 [7] stats4_3.4.2      magrittr_1.5      evaluate_0.10.1   stringi_1.1.5     rpart_4.1-11      rmarkdown_1.7    
[13] flexdashboard_0.5 tools_3.4.2       stringr_1.2.0     parallel_3.4.2    yaml_2.1.14       compiler_3.4.2   
[19] htmltools_0.3.6   knitr_1.17        modeltools_0.2-21

有没有人知道我可以尝试解决什么问题?

编辑:

也许这个信息可以帮助找到错误的原因:
尝试复制“钻石浏览器”示例时 https://jjallaire.shinyapps.io/shiny-ggplot2-diamonds/结果是:

screenshot of my Diamond Explorer copy - result

我可以在 RStudio 中看到错误消息:
Output created:  
C:/Users/xxx/AppData/Local/Temp/RtmpMdOsLH/file1ce033bb6c82.html
Warnung: Error in sample.int: Objekt 'input' nicht gefunden
Stack trace (innermost first):
120: sample.int
119: sample
118: lapply
117: map
116: [.tbl_df
115: [ [<text>#2]
114: <reactive:dataset> [<text>#2]
103: dataset
102: ggplot [<text>#6]
101: renderPlot [<text>#6]
 91: <reactive:plotObj>
 80: plotObj
 79: origRenderFunc
 78: output$outcca1a5b38b4e8b1a
  3: <Anonymous>
  2: do.call
  1: rmarkdown::run

最佳答案

最后我找到了解决我的问题的方法:
看完后https://github.com/rstudio/rmarkdown/issues/1184
并从 github 安装一个实际的 rmarkdown 包:devtools::install_github('rstudio/rmarkdown')我的 flexdashboard 文档又 Shiny 了:-)

关于r - 更新到 R 版本 3.4.2 后,pandoc 文档转换失败,错误 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47323389/

相关文章:

r - 广义线性混合模型误差(二元响应)

r - 如何将 Conda 环境与 RStudio Server 一起使用?

由于重复过滤大数据帧,R for 循环非常慢

r - 在 R shiny 中,如何在 UI 端使用在服务器端计算的值?

r-markdown - 如何在此 Flexdashboard 布局中创建选项卡集

css - 滚动长数据透视表(包 rpivottable 和 knitr)

r - 取消聚合数据框

css - Shiny + CSS : Aligning actionButtons in shinydashboard sidebar

R shiny file输入大文件

r - Flexdashboard/plotly 交互导致奇怪的滚动条行为