'Restoring overwritten .RData file

So today when starting up, before having my coffee, I accidentally wrote save.image instead of load when trying to load my workspace and now my workspace fill is overwritten by an empty file and I unfortunately have no recent back-up. Rerunning all my code would take several hours, thus I am asking you, is there a way to restore my previous file? Or is running the code necessary? Thank you in advance.

Kind regards



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source