Learn R Programming

pracma (version 1.7.3)

disp,beep: Utility functions (Matlab style)

Description

Display text or array, or produce beep sound.

Usage

disp(...)
beep()

Arguments

...
any R object that can be printed.

Value

  • beep() returns NULL invisibly, disp() displays with newline.

Details

Display text or array, or produces the computer's default beep sound using `cat' with closing newline.

Examples

Run this code
disp("Some text, and numbers:", pi, exp(1))
# beep()

Run the code above in your browser using DataLab