Saving R script delete the console and environment

Hi, I have a problem with my Rstudio, every time I'm hitting save (after any change in my script) it also clears the R console and R environment. This problem started a couple of months ago and I've tried to remove and reinstall both R and R studio but nothing helps.
It makes the work very tedious, having to re-run the whole script after every save -
Does anyone knows what can be the problem?
Thanks!

Do you have this checked on your script, by any chance?

image

If so, does unchecking it help?

Yes! Looks liked it solved the problem!
Thank you so much!

No problem, glad that's all it was!

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.