每当我在Unbutu 14.04中尝试在R中安装任何软件包时,我收到以下错误:
Error in readRDS(file) : error reading from connection
如果有人帮我解决这个问题,我将非常感激.谢谢
1-安装最新版本的R形式
CRAN,并尝试安装软件包.
原文链接:https://www.f2er.com/ubuntu/348554.html2-如果可以检查另一个用户帐户.
3尝试安装R软件包locally.
4-如果有一个由旧版本的R创建的RDS文件,您可能会遇到另一种问题,这是R帮助中的警告:
Warning
These functions have provided a stable interface since R 2.4.0 (when
the storage of serialized objects was changed from character to raw
vectors). However,the serialization format may change in future
versions of R,so this interface should not be used for long-term
storage of R objects.On 32-bit platforms a raw vector is limited to 2^31 – 1 bytes,but R
objects can exceed this and their serializations will normally be
larger than the objects.
参考:help(serialize)