[英]Error when install package dplyr in R. Error in install.packages : missing value where TRUE/FALSE needed
I tried to install package dplyr but it always show the error:我尝试安装 package dplyr 但它总是显示错误:
Error in install.packages : missing value where TRUE/FALSE needed
Here is the console history:这是控制台历史记录:
> install.packages("dplyr")
also installing the dependency ‘BH’
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/BH_1.60.0-2.zip'
Content type 'application/zip' length 15529281 bytes (14.8 MB)
downloaded 14.8 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/dplyr_0.5.0.zip'
Content type 'application/zip' length 2409178 bytes (2.3 MB)
downloaded 2.3 MB
Error in install.packages : missing value where TRUE/FALSE needed
Anyone have any ideas?有人有主意吗? Thanks in advance
提前致谢
I had this problem in R for Windows 3.4 我在R for Windows 3.4中遇到了这个问题
It's a bit weird, but it worked for me. 这有点奇怪,但它对我有用。
Just closing the installed packages win-library
folder while installing package resolved the mentioned error. 在安装包时关闭已安装的包
win-library
文件夹解决了上述错误。
I tried changing my repository, and .libPaths variable, those didn't work. 我尝试更改我的存储库和.libPaths变量,这些都不起作用。 Simply rebooting my windows machine did the trick for me.
只需重新启动我的Windows机器就可以了。
我在R3.4版本中遇到了同样的问题,它是通过使用来解决的
install.packages("tidyverse",dependencies = TRUE,repos = "http://cran.us.r-project.org")
I had the same problem where my rsession.exe
was essentially being blocked by my Advanced System Care software from accessing this file index.html
. 我遇到了同样的问题,我的高级系统护理软件基本上阻止了我的
rsession.exe
访问此文件index.html
。 When I clicked on index.html
, I wasn't sent to any particular file just the base [This PC] folder home page on Windows 10. The error you had was present for me throughout 3.4.3, 3.4.3patched, and 3.2, so it was probably a problem I was dealing with that transcended the versions themselves. 当我点击
index.html
,我没有被发送到任何特定文件,只是在Windows 10的基础[This PC]文件夹主页上。你在整个3.4.3,3.4.3修补和3.2中出现的错误,所以这可能是我正在处理的问题,超越了版本本身。
I don't know why exactly the access was really needed, but allowing it got rid of the problem for me. 我不知道为什么确实需要访问权限,但允许它为我解决问题。
Like @m.nette-van-zyl, this issue disappear when I disabled Avast (don't know why, though).就像@m.nette-van-zyl 一样,当我禁用 Avast 时,这个问题就消失了(虽然不知道为什么)。
在安装软件包时禁用我的 Avast 防病毒软件 10 分钟解决了我的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.