clear_env: Function to clear all elements within environment

View source: R/utils.R

clear_envR Documentation

Function to clear all elements within environment

Description

Function to clear all elements within environment

Usage

clear_env(env, ...)

Arguments

env

environment to clean, can be an R environment, or a fastmap2 instance

...

ignored

Examples


env = new.env()
env$a = 1
print(as.list(env))

clear_env(env)
print(as.list(env))


dipsaus documentation built on June 27, 2024, 5:10 p.m.