0

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

General Grievance
  • 4,555
  • 31
  • 31
  • 45
  • 2
    You could look through your RData file (back up if you use RStudio) or the History tab. Neither option will be clean or easy. You will have to piece together the script. However, if you executed the script file all at once, it may not be that bad. In the History pane, you can search for something that may be somewhat unique to that script file and start from there. – Kat Mar 12 '22 at 16:51
  • 1
    So you had never saved the file before? And when you closed the file, you confirmed in the dialog box that you didn't want to save it? If you confirmed that you don't want to save, then the changes are lost. There's no backup after the confirmation. – MrFlick Mar 12 '22 at 22:35

0 Answers0