# Play a "ping" sound
beep()
if (FALSE) {
# Play a fanfare instead of a "ping".
beep("fanfare")
# or
beep(3)
# Play a random sound
beep(0)
# Update all packages and "ping" when it's ready
update.packages(ask=FALSE); beep()
}
Run the code above in your browser using DataLab