Stop Function Execution

Usage

stop(message)

Description

stop stops execution of the current expression, prints the message given as its argument and then returns to the top level prompt.

See Also

warning.

Examples



if(iter > 10) stop("too many iterations")

if(iter > 10) stop("too many iterations")


[Package Contents]