Context manager's "with" method

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

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.

Value

Nothing.

See also