Let\'s say I have a shiny app that has a function that can take a long time to run. Is it possible to have a \"stop\" button that tells R to stop the long-running call, wit
Absolutely! future + ipc + promises worked well for me personally.
See https://cran.r-project.org/web/packages/ipc/vignettes/shinymp.html#killing-a-long-running-process