How to clear the R environment

hello,

How can I clean the R environment both using RStudio and the R console?

Thanks,

2 Likes