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.
Hi @ClarissaCat
Welcome to the Posit/RStudio Community Forum.
Those files are normally opened automatically by R, and hence RStudio, when they are located in the current working directory and the settings are correct. The contents of .Rdata will appear as objects in the pane and the old commands in the pane.
One way to achieve this is to open a new RStudio project in the directory where the files are located. If that doesn't work check your RStudio global settings.