简体   繁体   English

无法在R中安装“ dplyr”软件包

[英]unable to install “dplyr” package in R

While installing the dplyr package I am getting the error in RStudio, whereas if I am trying to install the same in R, I ma getting an error saying: 在安装dplyr软件包时,我在RStudio中收到错误消息,而如果我试图在R中安装该软件包,则会收到一条错误消息:

package dplyr is not available (for R version 3.5.2) 软件包dplyr不可用(对于R版本3.5.2)

this is the error I am getting in RStudio: 这是我在RStudio中遇到的错误:

Error: package or namespace load failed for ‘dplyr’ in library.dynam(lib, package, package.lib):
 DLL ‘bindrcpp’ not found: maybe not installed for this architecture?

Have you checked what version of R you are using? 您是否检查了使用的R版本? Just use the version command. 只需使用version命令。 If it's less than 3.5.2 you might find that libraries dplyr requires aren't being installed and that's why it's failing to find, for example, bindrcpp. 如果小于3.5.2,您可能会发现未安装dplyr所需的库,这就是为什么它找不到例如bindrcpp的原因。

In my corporate environment I had a very similar issue trying to install dplyr after our tech support operation upgraded my PC, but installed a too-old version of R. 在我的公司环境中,在技术支持部门升级我的PC后,尝试安装dplyr时遇到了一个非常相似的问题,但安装的R版本太旧。

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

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