Latest RStudio not showing R scripts and deleteing files...

My recollection of Windows permissions is that there is a different permissions for list files, read, and write. Check that RStudio has read permission on the files that appear empty.

RStudio might have list and write permission to the directory, but not read permission for the file. File is visible in a file browser dialog but appears blank as RStudio doesn't have read permission. When saving, it overwrites the file because it has write permission for the directory.