I'm facing a serious issue with one of my R scripts and desperately need help recovering its content. Here's what happened:
- Problem Description
- After force rebooting my Windows PC, one critical R script (.R file) shows blank/empty content when opened in RStudio
- However, Windows Explorer still shows the file size as 112KB (original size)
- The file appears intact, but content is missing when opened
- What I've Tried
✓ Attempted to reopen with different encodings (UTF-8, ANSI, etc.)
✓ Verified file isn't hidden or read-only
✓ Tried opening in Notepad++/VS Code - same empty result
I also tried updating RStudio to the latest version (2024.12.1+563) and R to version 4.5.0, but the issue still persists. Does any one can help me? Any other suggestions would be appreciated