Learn R Programming

sfsmisc (version 0.9-4)

prt.DEBUG: Utility Printing in DEBUG mode

Description

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. The global DEBUG has been a cheap precursor to the now standard R's options(verbose= .) setting.

Usage

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

Arguments

...
arguments to be passed to cat(...) for printing.
LEVEL
integer (or logical) indicating a debugging level for printing.