Error in as.data.frame.default: cannot coerce class “c(”reactiveExpr“, ”reactive“)” to a data.frame in Shiny

后端 未结 1 1084
难免孤独
难免孤独 2020-12-10 22:09

I am having an issue with creating a data frame from a reactive in Shiny. The app allows a user to upload some data hence the dataset is reactive. It will then allow the use

相关标签:
1条回答
  • 2020-12-10 22:46

    As Chi Pak has mentioned, reactive expressions must contain () at the end. Changing d.f to d.f() fixes the issue.

    0 讨论(0)
提交回复
热议问题