I just converted to MacOS from my old Windows laptop. After syncing the files, I realized that the Mac couldn't detect .RData and .Rhistory while syncing from cloud, and even after I downloaded them manually and tried opening them with RStudio it didn't work and showed the error message saying that:
File is binary rather than text so cannot be opened by the source editor.
Tried Googling for ways to fix but with no avail.