methods-deprecated {methods}R Documentation

Deprecated Functions in Methods package

Description

These functions are provided for compatibility with older versions of R only, and may be defunct as soon as the next release.

Usage

trySilent(expr)

Arguments

expr an R expression to try.

Details

The original help page for these functions is often available at help("oldName-deprecated") (note the quotes). Functions in packages other than the methods package are listed in help("pkg-deprecated").

trySilent(ex) is a deprecated equivalent of try(e, silent=TRUE); in R programming it is typically more efficient and flexible to work with something like tryCatch(ex, error = function(e) e) instead.

See Also

Deprecated, methods-defunct


[Package methods version 2.10.1 Index]