Learn R Programming

rlang (version 1.1.0)

empty_env: Get the empty environment

Description

The empty environment is the only one that does not have a parent. It is always used as the tail of an environment chain such as the search path (see search_envs()).

Usage

empty_env()

Arguments

Examples

Run this code
# Create environments with nothing in scope:
child_env(empty_env())

Run the code above in your browser using DataLab