Skip to contents

function that catches messages, warnings, and errors. This function has to be initialized by `initLogfunction` function

Usage

captureLog(expr, finallyExpression = invisible())

Arguments

expr

The expression to evaluate.

finallyExpression

The expression to evaluate finally

See also