Learn R Programming

sfsmisc (version 1.1-19)

prt.DEBUG: Utility Printing in DEBUG mode

Description

This is defunct now: The global DEBUG has been a cheap precursor to R's options(verbose= .) (or a verbose function argument).

This function prints out its arguments as cat() does, additionally printing the name of function in which it's been called --- only when a global variable DEBUG exists and is TRUE.

Usage

prt.DEBUG(..., LEVEL = 1)

Arguments

...

arguments to be passed to cat(...) for printing.

LEVEL

integer (or logical) indicating a debugging level for printing.

Author

Martin Maechler, originally for S-PLUS.