【问题标题】:Flexdashboard can't find input/sessionFlexdashboard 找不到输入/会话
【发布时间】:2017-11-12 00:18:17
【问题描述】:

我已经使用 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

我完全不知道发生了什么,整个星期都运行良好,但现在没有任何效果。我们将不胜感激。

【问题讨论】:

  • 我的问题和你一样

标签: rstudio r-markdown flexdashboard


【解决方案1】:

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

devtools::install_github("rstudio/rmarkdown")

【讨论】:

    猜你喜欢
    • 2020-09-27
    • 1970-01-01
    • 1970-01-01
    • 2012-08-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-03-06
    相关资源
    最近更新 更多