Oshri Arbiv
Oshri Arbiv

Reputation: 11

.RData error - R doesn't load

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

Answers (1)

saladi
saladi

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

Related Questions