How to prevent objects from loading automatically when opening Rstudio

Every time I open Rstudio, I find some variables in my environment. How can I delete them once for everyone?

Currently, when I open Rstudio, I run rm(list=ls()) to clear the environment first and then run the necessary scripts.

I even tried to clear the environment before closing Rstudio, but again in the next run I will find the variables there.

+5
source share
1 answer

Tools -> Global Options -> Restore .RData to Workspace at Startup (?)

+6
source

Source: https://habr.com/ru/post/1233501/


All Articles