Learn R Programming

crunch (version 1.30.4)

with-context-manager: Context manager's "with" method

Description

Context manager's "with" method

Usage

# S3 method for contextManager
with(data, expr, ...)

Value

Nothing.

Arguments

data

contextManager

expr

code to evaluate within that context

...

additional arguments. One additional supported argument is "as", which lets you assign the return of your "enter" function to an object you can access.

See Also

ContextManager