The cause of “bad magic number” error when loading a workspace and how to avoid it?
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 message: file ‘WORKSPACE_Wedding_Weekend_September’ has magic number '#gets' Use of save versions prior to 2 is deprecated I'm not particularly interested in the technical details, but mostly in how I caused it and how I can prevent it in the future. Here's some notes on the situation: I'm running R 2.15.1 on a MacBook Pro running Windows XP on a bootcamp partition. There is something obviously wrong this workspace file, since it weighs in