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(
Tools -> Global options -> Restore .RData into workspace at startup (?)
If you have already made the mistake of not changing the Restore .RData into workspace at startup setting in Global options, then to start a fresh R session by canceling the session reload on Rstudio, do this
~/.rstudio/sessions/activerm session-4ed31304 -RThis solution works for Ubuntu. I guess the same steps can be followed for other operating systems. The only change should be in the directory where active R sessions are stored.