Hi, thanks for the reply.
Yes I’ve looked at this article, it seems to me like I have to access to the 
“status” of a worker in order to do that, correct?
I mean, is there a way through BiocParallel interface in which I can receive a 
notification when a worker has finished a task? It is not clear to me how 
BiocParallel manages to update the progress bar internally – I guess the 
mechanism is similar to the one I described: distribute workload • when a 
worker has finished a task notify and update progress bar by one tick.
I’m honestly not too practical with asynch task management in R, sorry.

Thank you

From: Vincent Carey <st...@channing.harvard.edu>
Date: Thursday, July 7, 2022 at 11:40
To: Giulia Pais <giuliapa...@gmail.com>
Cc: bioc-devel@r-project.org <bioc-devel@r-project.org>
Subject: Re: [Bioc-devel] BiocParallel and Shiny
Interesting question.  Have you looked at 
https://shiny.rstudio.com/articles/progress.html ...?  There is
also a file called progress.R in BiocParallel/R folder.  Probably some new code 
needs to be written
to connect information from the BiocParallel activities to the server so 
incProgress is run as needed.

On Thu, Jul 7, 2022 at 4:48 AM Giulia Pais 
<giuliapa...@gmail.com<mailto:giuliapa...@gmail.com>> wrote:
Hello,
I have a question on the use of BiocParallel with Shiny: I would like to show a 
progress bar on the UI much like the standard progress bar that can be set in 
functions like bplapply() – is it possible to do it and how? I haven’t found 
anything on the topic in the documentation unfortunately.

Thanks in advance,
Giulia Pais

        [[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org<mailto:Bioc-devel@r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

        [[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to