Shiny Module that calls a reactive data set in parent Shiny server

后端 未结 2 2053
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-04 12:42

I\'m looking to port some older Shiny apps to use Shiny Modules, but running into trouble trying to port over my reactive expressions.

According to the documentation:

2条回答
  •  死守一世寂寞
    2021-02-04 13:31

    Drop the parens after car_data:

    df <- callModule(linkedScatter, "scatters", car_data,
                       left = reactive(c("cty", "hwy")),
                       right = reactive(c("drv", "hwy"))
      )
    

    The module seems to want "unresolved" reactives. The parentheses "resolves" them.

提交回复
热议问题