R How to Delete Multiple Data Objects From Environment with rm Function (Example Code)
In this R tutorial you’ll learn how to delete several data objects from the R environment running the rm function only once.
Creation of Example Data
data(iris) # Load some data data(mtcars) |
data(iris) # Load some data data(mtcars)
Example: Remove Multiple Data Frames by Using the rm() Function
rm(iris, mtcars) # Applying rm() |
rm(iris, mtcars) # Applying rm()