prt.DEBUG {sfsmisc}R Documentation

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.

Note

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.

Author(s)

Martin Maechler, originally for S-PLUS.


[Package sfsmisc version 1.0-19 Index]