I tried to load my R workspace and received this error:
Error: bad restore file magic number (file may be corrupted) -- no data loaded In addition: Warning m
I had this problem when I saved the Rdata file in an older version of R and then I tried to open in a new one. I solved by updating my R version to the newest.