Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shiny Reactivity Fails with data.table #2001

Closed
sergeganakou opened this issue Jan 25, 2017 · 2 comments
Closed

Shiny Reactivity Fails with data.table #2001

sergeganakou opened this issue Jan 25, 2017 · 2 comments
Milestone

Comments

@sergeganakou
Copy link

In my shiny code when I use reactive function with a data.table it's doesn't work but it's work with a data.frame . Please somebody can help me to solve this problem.

@raubreywhite
Copy link

I have the same problem.

These examples all use this framework: http://rmarkdown.rstudio.com/flexdashboard/

So you need to rename "failingFlexdashboard.txt" to "failingFlexdashboard.Rmd" and then you can run it (the same with "workingFlexdashboard.txt" -> "workingFlexdashboard.Rmd").

I've also attached the log from my shiny server that gives the error. Basically, Shiny seems to be trying to treat it as a data.frame, not a data.table, so it can't find the variable to stratify on.

failingFlexdashboard.txt
workingFlexdashboard.txt
test_error-docker-20170508-120846-37265 (linux's conflicted copy 2017-05-08) (linux's conflicted copy 2017-05-08) copy.txt

@raubreywhite
Copy link

Another reproducible example listed here:

rstudio/shiny#1696

@mattdowle mattdowle added this to the v1.10.6 milestone Jun 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants