简体   繁体   English

在 R 中更新 dplyr 会出现“没有名为‘data_frame’的包”错误

[英]Updating dplyr in R gives “no package called ‘data_frame’” error

I am having trouble updating from dplyr version 0.8.5 to 1.0.2 on Ubuntu 16.04 LTS.我在 Ubuntu 16.04 LTS 上从 dplyr 版本 0.8.5 更新到 1.0.2 时遇到问题。 The error that I get is hard for me to understand.我得到的错误让我难以理解。

I update using the following command: update.packages(ask=FALSE,dependencies=TRUE) , I am running R with root privileges.我使用以下命令进行更新: update.packages(ask=FALSE,dependencies=TRUE) ,我以 root 权限运行 R。

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'data_frame' ERROR: lazy loading failed for package 'dplyr'

What does there is no package called 'data_frame' mean? there is no package called 'data_frame'意思? I thought data_frame would be available since it is in the base package.我认为 data_frame 将可用,因为它在基础包中。

It turns out upgrading my base R version fixed the issue.结果证明升级我的基本 R 版本解决了这个问题。 I went from 3.2.3 to 3.6.3 and then I could get dplyr 1.0.2.我从 3.2.3 到 3.6.3 然后我可以得到 dplyr 1.0.2。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM