Warning Messages
Usage
warning(message)
Description
warning generates a warning message that corresponds to its
argument. The result depends on the value of
options("warn").
If warn is negative warnings are ignored; if it is zero they
are stored and printed after the toplevel function has completed;
if it is one they are printed as they occur and if it is 2 (or larger)
warnings are turned into errors.
If warn is zero a toplevel variable last.warning is
created. It contains the warnings which can be printed via a call to
warnings.Examples
if(eigenval < 1.e-7) warning("system near singular")
if(eigenval < 1.e-7) warning("system near singular")