Reputation: 41
I tried to install package dplyr but it always show the error:
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
Upvotes: 4
Views: 12416
Reputation: 132
Like @minette-van-zyl, this issue disappear when I disabled Avast (don't know why, though).
Upvotes: 0
Reputation: 21
Disabling my Avast antivirus for 10 minutes while the package was installed resolved my proble.
Upvotes: 1
Reputation: 709
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.
Upvotes: 4
Reputation: 537
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
. 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.
I don't know why exactly the access was really needed, but allowing it got rid of the problem for me.
Upvotes: 0
Reputation: 31
I had the same problem in R3.4 version, it was solved by using
install.packages("tidyverse",dependencies = TRUE,repos = "http://cran.us.r-project.org")
Upvotes: 3
Reputation:
I tried changing my repository, and .libPaths variable, those didn't work. Simply rebooting my windows machine did the trick for me.
Upvotes: 1
Reputation: 5971
I had this problem in R for Windows 3.4
Upvotes: 6