Flexdashboard无法找到输入/会话

时间:2017-11-12 00:18:17

标签: rstudio r-markdown flexdashboard

我一直在使用Shiny / Flexdashboard几天,我的所有代码都停止工作,我只是得到会话或输入未找到错误。我尝试重新安装RStudio和R以及所有软件包,但它没有用。

运行我的代码时,我会得到类似的结果:

Warning: Error in dropNulls: objeto 'session' não encontrado
Stack trace (innermost first):
    117: dropNulls
    116: updateSelectizeInput
    115: eval
    114: eval
    113: withVisible
    112: withCallingHandlers
    111: handle
    110: timing_fn
    109: evaluate_call
    108: evaluate::evaluate
    107: evaluate
    106: in_dir
    105: block_exec
    104: call_block
    103: process_group.block
    102: process_group
    101: withCallingHandlers
    100: process_file
     99: knitr::knit
     98: <Anonymous>
     97: do.call
     96: contextFunc
     95: .getReactiveEnvironment()$runWith
     94: shiny::maskReactiveContext
     93: <reactive>
     82: doc
     81: shiny::renderUI
     80: func
     79: origRenderFunc
     78: output$__reactivedoc__
      3: <Anonymous>
      2: do.call
      1: rmarkdown::run
Warning: Error in %in%: objeto 'input' não encontrado
Stack trace (innermost first):
    73: %in%
    72: [.data.frame
    71: [ [<text>#13]
    70: <reactive:sliderDatMP> [<text>#13]
    59: sliderDatMP
    58: observerFunc [<text>#36]
     3: <Anonymous>
     2: do.call
     1: rmarkdown::run
ERROR: [on_request_read] connection reset by peer

但不仅仅是在我的代码中,我可以尝试在flexdashboard网站上运行简单的Old faithul example,同样的事情也会发生。

Screenshot of what I get running the Old faithul

我完全不知道发生了什么事,整个星期工作得很好,现在没什么作用。所有的帮助将不胜感激。

1 个答案:

答案 0 :(得分:1)

确定为rmarkdown的问题。 R内的解决方案:

devtools::install_github("rstudio/rmarkdown")