I have installed new version of R and R studio after some 6 or 7 years. so i deleted the previous one in order to have up to date version. once i am done with the process, i realized that the code that the analysis code that i have done in previous version have all lost. Any suggestions to retrieve data or it is completely lost?
Updating R or RStudio should not affect the existence of any code you have written. Your code, if you saved it in a file, should be somewhere among your user files. Where those are depends on your operating system.
Did you save your code in files? Do you have any idea what folder you saved them in?
Thank you so much for your time but the problem is that in order to update I have deleted the prior versions and then installed R and R studio in fresh. can i still have my work log saved? I have performed R task many years ago like 6 to 7 years ago so i dont know if i filed them and in with names
I understand that you deleted the old R and RStudio. Normally, that would not matter because you would have saved your code. The typical way to save R code is in a file whose name ends in .R. Can you search the part of your file system where you save personal files for files that end in .R?
Can you explain anything about how you used to work in RStudio? Did you start a new set of work with selecting the menu File -> New File or File -> New Project?
Thank you so much, the suggestion worked and i found the files. I have even stored the code in word files too. I am thankful for your help. regards