我收到了一堆用R的save
函数保存的数据。
当我尝试加载它时,我收到了关于命名空间的警告,因此最终出现错误。有没有办法对其进行排序并恢复数据?
> load('mydata')
Warning: namespace ‘BMP’ is not available and has been replaced
by .GlobalEnv when processing object ‘res’
Error: ReadItem: unknown type 0, perhaps written by later version of R
我知道BMP
是用于生成数据的函数,res
是mydata
中包含的元素之一。