| prt.DEBUG {sfsmisc} | R Documentation |
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.
prt.DEBUG(..., LEVEL = 1)
... |
arguments to be passed to cat(...) for
printing. |
LEVEL |
integer (or logical) indicating a debugging level for printing. |
This is mainly kept for historical reasons (and old code
fragments), but sometimes I still consider renaming it and have it
work using getOption("verbose") alone.
Martin Maechler, originally for S-PLUS.