本文介绍了readRDS(文件)在R的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我尝试在R中安装软件包时,会出现以下错误:
readRDS未知的输入格式
这是刚刚发生的系统崩溃。我在Windows 7下运行32位R 2.13.0。我尝试删除并重新安装R,但继续得到错误。
感谢
div class =h2_lin>解决方案每当我尝试在R中安装软件包时,会出现以下错误:
readRDS未知的输入格式
这是刚刚发生的系统崩溃。我在Windows 7下运行32位R 2.13.0。我尝试删除并重新安装R,但继续得到错误。
感谢
div class =h2_lin>解决方案我遇到的三个建议是:
.Rhistory
和 .RData
文件。 update.packages()
只有解决方案3适用于我。
参考文献:
Whenever I try to install a package in R, I get the following error:
Error in readRDS(file) : unknown input format
This just started occurring after I had a system crash. I am running 32 bit R 2.13.0 under windows 7. I tried removing and re-installing R, but continue to get the error. Is there any way I can fix this without deleting everything (i.e. all the packages I've installed) and starting over?
Thanks
The three suggestions I have come across are:
.Rhistory
and .RData
files in the directory in which youare running R.update.packages()
Only solution 3 worked for me.
Ref: R-sig-Debian mailing list
这篇关于readRDS(文件)在R的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!