New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Progress bar and downloadHandler #1660
Comments
|
You should be able to use the Progress API (or the simpler |
|
Works like a charm. Thank you! |
|
I tried to include it in the content function: But this is not working, I guess I'm doing it not in the correct way? Thanks, Tim |
|
@tbenschop What if you just have |
|
I have tried wrapping the |
|
For all those people adding thumbs up to the question by @MohoWu , you can update a progress bar from If you want to be able to call the same Rmd file from shiny and static contexts, you can wrap the calls to |
Hello folks, I am using downloadHandler to render an Rmarkdown file in PDF format. The process takes a while so I wanted to include a progress bar to let the user know that the file is being generated. I was not able to figure out how to do so.
The progress bar is generated by:
progress <- Progress$new(session, min = 1, max = 2)progress$set(message = "Generating Report... ", value = 1)on.exit(progress$close())downloadHandler is not designed to work within an 'observe' block so I do not really know how to make these two features play together.
Any idea how I can achieve what I need?
The text was updated successfully, but these errors were encountered: