Skip to content
Prev 19062 / 21312 Next

[Bioc-devel] BiocParallel and Shiny

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 <stvjc at channing.harvard.edu>
Date: Thursday, July 7, 2022 at 11:40
To: Giulia Pais <giuliapais1 at gmail.com>
Cc: bioc-devel at r-project.org <bioc-devel at 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 <giuliapais1 at gmail.com<mailto:giuliapais1 at 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


_______________________________________________
Bioc-devel at r-project.org<mailto:Bioc-devel at 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.
Message-ID: <DBAPR04MB726957A87648639292AE3342AA839@DBAPR04MB7269.eurprd04.prod.outlook.com>
In-Reply-To: <CAANT7+WO7nwSmxBvONSx8qjo8XZTkocv1K_XNee0WWkiCcKvCg@mail.gmail.com>