recovering "old" version of server.R

For reasons I cannot fathom, I was working in RStudio and it said that the current version was not the same as what I had on disk. It asked me which one to keep (I chose the open one) and lo and behold, a week's worth of coding was gone! This is the second time I've done this. Rstudio, even though I save states, seems to get confused about what I have saved.

I am working on a VM with Mint. Can anyone suggest how to recover the correct version of the server.R file, as well as how to avoid this problem in the future? Thanks.

I'd recommend working with git or svn:

This topic was automatically closed 54 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.