cat and flush console

Share:

Description

This function is a wrapper for cat with an immediate flush of the console

Usage

1
announce(verbose = TRUE, ...)

Arguments

verbose

a logical for printing

...

arguments passed to cat

Value

NULL, invisibly

Author(s)

Nathan Coulter

Examples

1
2
3
announce()
announce(FALSE, "this will not be printed")
announce(TRUE, "but this will be")