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

Example: Remove Multiple Data Frames by Using the rm() Function

rm(iris, mtcars)        # Applying rm()

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed