utils (version 3.5.0)

alarm: Alert the User

Description

Gives an audible or visual signal to the user.

Usage

alarm()

Arguments

Value

No useful value is returned.

Details

alarm() works by sending a "\a" character to the console. On most platforms this will ring a bell, beep, or give some other signal to the user (unless standard output has been redirected).

It attempts to flush the console (see flush.console).

Examples

Run this code
# NOT RUN {
alarm()
# }

Run the code above in your browser using DataCamp Workspace