.RData错误 - R没有加载

时间:2016-03-12 17:38:34

标签: r

R不会加载以下错误:

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

我该如何解决此错误?

1 个答案:

答案 0 :(得分:0)

您的.RData文件似乎已损坏。尝试删除或重命名,即

rm .RData

mv .RData _RData