You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to convert the knitr progress messages into a progress bar, which I think that means that I need to parse the output and extract just the percentages. Another possibility would be to include a hook that can be called whenever the progress is updated.
Is there a way to capture the progress of knitr and process it in a function in realtime? The function would then parse each segment of text and extract the percentage.
AFAIK the output is being sent to stdout, so there is a way that the output can be capture, either using sink() or captureOutput() to a connection. Can that connection then be sent to a function to be processed in realtime?
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
I would like to convert the knitr progress messages into a progress bar, which I think that means that I need to parse the output and extract just the percentages. Another possibility would be to include a hook that can be called whenever the progress is updated.
Is there a way to capture the progress of knitr and process it in a function in realtime? The function would then parse each segment of text and extract the percentage.
AFAIK the output is being sent to stdout, so there is a way that the output can be capture, either using sink() or captureOutput() to a connection. Can that connection then be sent to a function to be processed in realtime?
SO post at http://stackoverflow.com/q/40699822/559676
The text was updated successfully, but these errors were encountered: