Skip to contents

Similar to Python's `open()`, but creates a ContextManager S3 object. Intended to be used as a first (left) argument of ` argument of `context::with()`.

Usage

open(file_name, mode = "r")

Arguments

file_name

File name to open.

mode

File mode.

Value

S3 class ContextManager