Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

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

like image 668
Tuan Anh Avatar asked Oct 25 '25 06:10

Tuan Anh


1 Answers

I had this problem in R for Windows 3.4

  1. Go to the CRAN webpage and download and install the R 3.4.0 Patched Build for Windows
  2. Run Rstudio as administrator.
  3. Install the package as usual.
like image 184
sheldonzy Avatar answered Oct 26 '25 19:10

sheldonzy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!