announce: cat and flush console

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")

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.