当前位置: 代码迷 >> 综合 >> Error: bad restore file magic number (file may be corrupted) -- no data loaded In addition: Warni
  详细解决方案

Error: bad restore file magic number (file may be corrupted) -- no data loaded In addition: Warni

热度:77   发布时间:2023-11-25 12:19:04.0

Error: bad restore file magic number (file may be corrupted) – no data loaded
In addition: Warning message:
file ‘ttr.varSD.RDS’ has magic number ‘X’
Use of save versions prior to 2 is deprecated
https://stackoverflow.com/questions/59107717/how-do-i-load-an-rds-file-into-r

You can use function readRDS to restore an object stored in a .RDS file. In your case:您可以使用函数readRDS来还原存储在.RDS文件中的对象。在你的情况下:readRDS('ttr.varSD.RDS')

bad restore file magic number. Use of save versions prior to 2 is deprecated

load()

  相关解决方案