How to delete all data at a time using code in R?

How to delete all data at a time using code in R?

I wrote many codes in R and now I want to delete all of them.

You can click the broom icon to delete all.

But, you can use this code to delete all.

rm(list=ls())
Comments are closed.