Print Warning Messages

DESCRIPTION:
Prints warning messages when a number of warnings has occurred.

USAGE:
warnings(...)

OPTIONAL ARGUMENTS:
...:
arguments, which will be passed to the function cat. The most likely to be useful is file= to redirect the warning printout. See cat for the possible arguments.

SIDE EFFECTS:
prints the contents of last.warning.

DETAILS:
This function is used if prior execution has produced multiple warning messages. By default, S-PLUS does not print more than five warnings from one expression. Instead it stores the messages in a dataset named See the warn option in options for an explanation of how warnings are handled.

SEE ALSO:
stop , options , cat .