Is there a way to refresh an existing widget without printing an additional copy of the widget in my web browser or the RStudio IDE viewer pane?
The tar_visnetwork()
function in targets
produces a visNetwork
widget with colors to show the status of each target (examples here).
With tar_visnetwork(outdated = FALSE)
, you can show more specific runtime progress information.
I want to write a version of tar_visnetwork()
that refreshes at regular intervals while the pipeline is running. But every time I print a visNetwork
widget, it creates its own graphics device. Simply printing every couple seconds would produce thousands of unwanted graphs.