problem.summary(errors=T, warnings=T)
TRUE
if you want a count of the errors.
TRUE
if you want a count of the warnings.
errors
and/or
warnings
to describe the counts.
If you set
options(verbose=T)
, you will
see the same information at the end of each session, although it will
disappear immediately if you are using a GUI version of S-PLUS. It
is most useful when in batch mode.
for(i in (-10:10)) log(i) # There were 10 warnings (use warnings() to see them) nosuchfunction(no - such - data) # Problem: Couldn't find a function definition for "nosuchfunction" problem.summary() # errors warnings # 1 11