Last data update: 2014.03.03

R: Wrap a try block in futile.logger
ftryR Documentation

Wrap a try block in futile.logger

Description

This function integrates futile.logger with the error and warning system so problems can be caught both in the standard R warning system, while also being emitted via futile.logger.

Usage

  ftry(expr, error = stop, finally = NULL)

Arguments

expr

The expression to evaluate in a try block

error

An error handler

finally

Pass-through to tryCatch finally

Author(s)

Brian Lee Yung Rowe

Examples

ftry(log(-1))

Results