Cross Platform Desktop Notifications
Send desktop notifications from R, on macOS, Windows and Linux.
Once on CRAN, install the package with
install.packages("notifier")notifier has no R package dependencies, and no system requirements
other than the notify-send command line tool on Linux and other
Unix-like systems. notify-send is available in the default installation
on most Desktop Linux installations.
library(notifier)
notify(
title = "15 Packages out of date",
msg = c("You can run update.packages() to update them.",
"Outdated packages: Boom colorspace desc memuse networkD3",
"pbapply revealjs rgl rmdformats timevis and 5 more")
)notifier uses various tools on the different platform:
- On macOS, it uses
terminal-notifier: https://github.com/julienXX/terminal-notifier - On Linux and other Unix-like systems it uses
notify-sendfromlibnotify. - On recent Windows systems it uses
toaster: https://github.com/nels-o/toaster - Older Windows versions it uses
notifu: https://www.paralint.com/projects/notifu
MIT © Gábor Csárdi