Skip to content

Files

Latest commit

Feb 12, 2017
6abecb8 · Feb 12, 2017

History

History
This branch is 13 commits behind daattali/advanced-shiny:master.

forked-task

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 12, 2017
Feb 12, 2017
Feb 12, 2017

Create a cancellable long-running task

In shiny (or R in general), when you start running a function, you generally cannot do anything else until that function completes. This means that if the user of a shiny app does something that results in a 2-minute calculation, the entire app becomes unusable and the user has to wait 2 minutes before they can interact with the app again. This has been a problem for some people, and the shiny team is currently looking into providing a solution for this. In the meantime, Joe Cheng (author of Shiny) came up with a nice workaroud. His solution will likely not work on Windows and it is not a robust fool-proof solution, but itcan get the job done.