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

@sergeganakou sergeganakou commented Jan 25, 2017

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

@raubreywhite raubreywhite commented May 8, 2017

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

@raubreywhite raubreywhite commented May 10, 2017

Another reproducible example listed here:

rstudio/shiny#1696

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.