发出加载'dplyr'包 [英] Issue loading 'dplyr' packages

查看:122
本文介绍了发出加载'dplyr'包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有



我正在尝试安装并加载dplyr软件包,以便我可以轻松地开始操作数据。这是我做的和我收到的错误消息。


install.packages(dplyr)
将包安装到 C:/Users/YingHaw/Documents/R/win-library/3.1'
(as'lib'is unspecified)
尝试URL' http://cran.rstudio.com/bin/windows/contrib/3.1/dplyr_0.4.1.zip '
内容类型'application / zip'长度2596780字节(2.5 MB)
打开URL
下载2.5 MB


package'dplyr'成功解包,MD5总结检查



下载的二进制包在
C:\Users\YingHaw\AppData\\ $($ d


$ b $ p
get(Info [i ,1],envir = env):
无法打开文件'C:/Users/YingHaw/Documents/R/win-library/3.1/Rcpp/R/Rcpp.rdb':没有这样文件或目录
错误:'dplyr'的包或命名空间加载失败


有人可以告诉我可能出了什么问题吗?



Anson

解决方案

看起来您在安装中遇到问题dplyr包。更好地删除包plyr和dplyr(如果已经安装),然后重试安装它。如果不是更好的更新您的rstudio版本,然后尝试安装它



我以前面临过这些问题,但删除并重新安装后,这是有效的。


All

I am trying to install and load 'dplyr' packages so that I can start to manipulate data at ease. Here is what I did and the error messages I got.

install.packages("dplyr") Installing package into ‘C:/Users/YingHaw/Documents/R/win-library/3.1’ (as ‘lib’ is unspecified) trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/dplyr_0.4.1.zip' Content type 'application/zip' length 2596780 bytes (2.5 MB) opened URL downloaded 2.5 MB

package ‘dplyr’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\YingHaw\AppData\Local\Temp\Rtmp4KMRy3\downloaded_packages

library("dplyr") Error in get(Info[i, 1], envir = env) : cannot open file 'C:/Users/YingHaw/Documents/R/win-library/3.1/Rcpp/R/Rcpp.rdb': No such file or directory Error: package or namespace load failed for ‘dplyr’

Can someone tell me what possibly went wrong?

Anson

解决方案

Looks like you're facing issues in installing the dplyr package. Better remove both the packages plyr and dplyr (if already installed)and then try again installing it. if not better update your rstudio version and then try installing it

I have previously faced these issues but after removing and reinstalling it, that works.

这篇关于发出加载'dplyr'包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆