Hi, I accidentally used "unlink" in Rstudio on my external harddrive prompting everything to be deleted -- including many R scripts.
I used photorec to try to recover the files on the harddrive, and it seems to be working. I see a few pdfs and .mp4 files that were saved.
There are also many .gz files which I think are the R files. How do I recover them? I've tried using gunzip, but it does not seem to parse the files correctly. Really any help would be super apprecaited.
Edit: Im wondering if R scripts are saved in memory as a certain .gz type and if there's a built in way to read these .gz files.