R file become 0 byte and empty after opening

After saving my work (.R) file, I just wanted to open .R file in RStudio today. But, when I opened it, it was totally empty and the file become 0 kb. I reinstalled a new version it did not work. Is there any way to get my code back or open the R file now?