stopStatus: Stop With Custom Status

Description Usage Arguments Details

Description

stopStatus stops execution of the current expression and executes an error action returning a custom error status.

Usage

1
stopStatus(..., status = 1)

Arguments

...

zero or more objects. Same behavior as stop(...).

status

Optional. The (numerical) error status to be returned to the operating system.

Details

The default error handler for non-interactive use returns error status 1. Error status 2 is used for R 'suicide', that is a catastrophic failure, and other small numbers are used by specific ports for initialization failures. It is recommended that users choose statuses of 10 or more.


fabarca/reutiles documentation built on May 16, 2019, 9:57 a.m.