clear_env {dipsaus}R 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))


[Package dipsaus version 0.2.5 Index]