Learn R Programming

cooltools (version 2.18)

error: Stop code and produce an error message

Description

Stops the code and produces an error message, like the stop() function of the base library, but terminating a timer started with tick, if running.

Usage

error(...)

Value

None. geterrmessage() returns the last error message, as a character string.

Arguments

...

zero or more objects which can be coerced to character (and which are pasted together with no separator) or a single condition object.

Author

Danail Obreschkow

See Also

tick tock progress