安装R包在readRDS(文件)中出错:从连接读取错误

前端之家收集整理的这篇文章主要介绍了安装R包在readRDS(文件)中出错:从连接读取错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
每当我在Unbutu 14.04中尝试在R中安装任何软件包时,我收到以下错误
Error in readRDS(file) : error reading from connection

如果有人帮我解决这个问题,我将非常感激.谢谢

我已经尝试了给出了here方法,但是无法解决问题.

1-安装最新版本的R形式 CRAN,并尝试安装软件包.

2-如果可以检查另一个用户帐户.

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)

原文链接:https://www.f2er.com/ubuntu/348554.html

猜你在找的Ubuntu相关文章