clear_workspace: Clear your current workspace

View source: R/clear_workspace.R

clear_workspaceR Documentation

Clear your current workspace

Description

clear_workspace resets your R-environment without de-attaching your packages. It just removes your variables and functions.

Usage

clear_workspace()

Examples

# make some new variables in your environment, then clear your whole environment
## Not run: 
> var <- 1
> name <- c("Bob")
> ls()
"var"     "name"
> clear_workspace()
> ls()
character(0)

## End(Not run)

dominikjung42/dstools documentation built on June 16, 2024, 2:40 a.m.