'Recovery unsaved R.script in R

Recently I closed an R.scrip and DONT save the changes (i.e. I lost almost all my work...). I would like to know if there is some option to recovery back My previous version of that scrip

I found this similar question, but since my scarce knowledge in R I am not able to replicate. Could someone explain me with all possible details how (if is possible) recover my previous R.scrip. I looked in the R folder but did not found nothing. Also * tried in "Documents* but same result (nothing). I really appreciatte the help



Sources

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

Source: Stack Overflow

Solution Source