This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/stop.html
stop {base}R Documentation

Stop Function Execution

Description

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

Usage

stop(message)

See Also

warning.

Examples

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

[Package base version 0.60 ]