Hi!
I am sorry to hear you are having problems! Could you please be more specific about what was deleted in your project? It sounds like perhaps it was code written in the R console? If that is the case, although we attempt to preserve all state in the RStudio IDE including environment variables and console history from the session, in some cases that may not be possible. We are working on improving our ability to consistently restore the environment between sessions but at this time we strongly recommend users save important work in files and/or in Github via the Github integration.
I apologize for the inconvenience.
Best,
Ming