RStudio: do not automatically load variables in the environment

Question:

Whenever I start RStudio some variables appear in the environment .
Is there any way to remove them automatically without using the famous rm(list=ls()) ?

Thanks!

Answer:

Yes there is. Go to Tools menu -> Global options -> Restore .RData into workspace at startup.

Scroll to Top