ExtendedTask - Unable to return multiple different data.frames and plots from the same function/task
Opened this issue · 1 comments
Hello,
I am trying to use ExtendedTask to enable multi-person use of my R Shiny App.
Because of the multiple outputs involved in this app, which all come from the same analysis, I've been attempting to get multiple returns from the same function. I don't seem to be able to find a way to do this.
To circumvent this, I've attempted to run multiple ExtendedTasks to get each of the outputs (6 of them). This works great when I run the App on my laptop, but it slows down from 5 seconds to 125 seconds once it's been loaded onto our server.
Do you have any advice on how I can pull multiple data.frames and plots from a single extendedtask or make them global variables in the parent environment without having multiple asynchronous tasks running at once? Unfortunately the data frames are very different from each other and therefore combining them into one result to later split them has not been feasible.
Thank you for your help.
Best wishes,
Dr. O
I'd suggest to put the data.frames etc. in a list()
. Please check my related answer here.