Accidentally overwritten the wrong code with the right one

I accidentally overwrote a working R code with the older one that didn't work. Now I am in trouble because I have no time to write the whole code once again. Is there a way to go back to the previous version of my Rscript?

Not unless you have saved it somewhere.

For next time:

Hi @arj.arjun.16,
If you ran the “lost” code you may be able to recover it from the “History” window in RStudio.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.