Reputation: 11
R won't load throwing the following error:
Error: bad restore file magic number (file may be corrupted) -- no data loaded
In addition: Warning message: file ‘.RData’ has magic number ''
Use of save versions prior to 2 is deprecated
How might I resolve this error?
Upvotes: 1
Views: 2152
Reputation: 3253
It looks like your .RData
file is corrupt. Try removing or renaming it, i.e.
rm .RData
or
mv .RData _RData
Upvotes: 1