简体   繁体   中英

.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?

It looks like your .RData file is corrupt. Try removing or renaming it, ie

rm .RData

or

mv .RData _RData

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM