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())

Leave a Reply

If you include a website address in the comment section, I cannot see your comment as it will be automatically deleted and will not be posted. Please refrain from including website addresses.