Another solution is to use the tcltk package. This package is already installed in R, although it does not appear in the CRAN package list.
require(tcltk)
tkmessageBox(title = 'Exemplo tcltk', message = 'Operação concluída!', type = 'ok')
As with the rpanel package, the session will be blocked. If you do not want to block, da para usar uma progressbar, do pacote utils.
invisible(winProgressBar(title = "Concluido!", label = "Operação concluída!", initial = 1))
If the goal is to draw attention, you can also use the alarm()
to make a sound.
That’s interesting! Who knew there was this feature in this base package! Thanks!
– João Dias