Rstudio: do not automatically load variables in Environment

Asked

Viewed 196 times

9

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

Thank you!

1 answer

8


There is. Go to Tools menu -> Global options -> Restore . Rdata into Workspace at startup.

  • Thanks. It worked great.

  • 6

    @Captain Hab if the answer has met you, you can accept it by clicking the ok button on the left side of the answer.

  • 3

    It is useful to mention that it can be interesting to also uncheck the option to save Environment when closing Rstudio, this avoids creating files. Rdata everywhere that will probably not be used.

  • 2

    @Carloscinelli didn’t have enough reputation. I’ve corrected!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.