Hi,
Have you tried looking at the history tab in RStudio?
It's in the top-right panel next to Environment. It should have a history of all the actions you've done, even if you can't find the file you did it in.
I assume you did save the file after all the progress, but you might have overwritten it somehow.
Hope this helps,
PJ