PikaPika
PikaPika

Reputation: 1

R 'log4r' package installation issue and issue with cran mirror

Why am I getting the following error when I am trying to install 'log4r' package?

Warning in install.packages :
  unable to access index for repository http://cran.rstudio.com/src/contrib:
  cannot open URL 'http://cran.rstudio.com/src/contrib/PACKAGES'
Warning in install.packages :
  package ‘log4r’ is not available for this version of R

I even tried changing the cran mirror but after some time I encountered an error like below:

Warning message:
In download.file(url, destfile = f, quiet = TRUE) :
  URL 'https://cran.r-project.org/CRAN_mirrors.csv': status was 'SSL connect error'

I tried the following solutions:

  1. Disabled "use secure download method for http" under packages
  2. Restarted internet
  3. Restarted R session

What else can I do?

Upvotes: 0

Views: 98

Answers (0)

Related Questions