How to prevent objects from automatically loading

2019-02-12 02:55发布

问题:

Everytime I open Rstudio I find some variables in my environment. How can I remove these once for all?

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

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

回答1:

Tools -> Global options -> Restore .RData into workspace at startup (?)



标签: r rstudio