Learn R Programming

kittyR (version 1.1.0)

meowR: Play a short kitty meow sound

Description

meowR is inspired by beepr::beep, which plays a short sound to notify you, for example, when a script has finished. Instead of a beep, this function produced a meow.

Usage

meowR(sound = 3)

Arguments

sound

A character string or a number specifying what sound to be played by either specifying one of the built in sounds, specifying the path to a .wav file or specifying an URL. There are currently 6 meows included. The default is 3.

Value

No return value, called for side effect (sound).

Examples

Run this code
# NOT RUN {
# play Eno's meow
kittyR::meowR(sound = 4)
# }

Run the code above in your browser using DataLab