how to clear all environment variables in r code example Example: how to clear rstudio environment click on the brush icon in environment tab