If you want the best shot at retrieving lost data without resorting to a service, this program is the bullet. There are a lot of file recovery programs out there that can try to recover your files ...
Note that GitHub Copilot isn’t optimized for R; the documentation says Copilot works “especially well” for Python, JavaScript, TypeScript, Ruby, Go, C#, and C++. However, Copilot does make R code ...