clear_dataframes: removes data frames from global environment

View source: R/clear_dataframes.R

clear_dataframesR Documentation

removes data frames from global environment

Description

For those occasions when you want to clear all your data frames out of memory without also removing any functions you may have loaded in. Adapted from http://stackoverflow.com/questions/19684819/get-list-of-available-data-frames

Usage

clear_dataframes()

Examples

dat <- as.data.frame(x = rnorm(3), y = rnorm(3))
ls()
clear_dataframes()
ls()

simonthelwall/nicethings documentation built on Feb. 27, 2023, 3:15 p.m.