R base-functions reference.
Catch and handle R conditions including errors, warnings, and messages with tryCatch().
tryCatch(expr, ..., finally)