Skip to content
Prev 51280 / 63435 Next

capturing warnings using capture.output

When options("warn") is 0, the default, the warning is not
printed until capture.output is done.  Use warn=1 to capture
the warnings as messages:
Warning message:
In eval(expr, envir, enclos) : A warning
[1] "A message"
[1] "A message"
[2] "Warning in eval(expr, envir, enclos) : A warning"
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Mon, Nov 23, 2015 at 2:31 AM, Richard Cotton <richierocks at gmail.com> wrote: