odfWeave (version 0.8.4)

announce: cat and flush console

Description

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

Usage

announce(verbose = TRUE, ...)

Arguments

verbose
a logical for printing
...
arguments passed to cat

Value

NULL, invisibly

Examples

Run this code
announce()
announce(FALSE, "this will not be printed")
announce(TRUE, "but this will be")

Run the code above in your browser using DataLab