Thanks Brandon but it would not help with the problem that the beep() would still be triggered BEFORE the plot appears in the graphics device.
This is the basic scenario pseudocode:
output$plot <- renderPlot({
showNotification("Starting plot", id = "a")
ggplot(data = someBigDataSet, ...) +
geom_boxplot()
# a beep() or removeNotification HERE happens BEFORE the box plot appears - user thinks there is a crash
})
where can I insert code that only gets called when drawing of the plot in the graphics device has ended and the plot actually appears???
Thanks