I was doing a project on my laptop in Rstudio.
I was writing code on the console pane. Somehow I started doing this from day 1. So as I progressed down (scrolling down) with writing code in the console pane I started to experience weird things happening. The code that I wrote like half an hour ago started disappearing I don't see any anymore.
Can someone tell me what wrong I did here?
Moreover, I don't know how to bring the code back. Does R has any options like checking history? and saving option for all code we write in R.
Additionally, please share your pros and cons (I mean your experience with RStudio)of using the Rstudio cloud and installed Rstudio.