issue with installing packages

Hi, I'm new to R and R Studio and I have trouble basically installing any package.

install.packages("dplyr")
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'
Installing package into ‘C:/Users/35132/OneDrive/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
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 ‘dplyr’ is not available (for R version 3.6.0)
Warning in install.packages :
unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/3.6:
cannot open URL 'http://cran.rstudio.com/bin/windows/contrib/3.6/PACKAGES'

So I tried all the URL on my google Chrome, which is my current default web browser, and I am able to open all the websites. However, when I tried all the URL on the original web browser on my system, Microsoft Edge, I wasn't able to open any of them. So I thought I was onto something.

I thought it was the security setting on my laptop so I turned them off. However, I still can't download packages... I am just wondering if anyone know how to fix this problem.

I've been trying to fix this for four days. Any help will be appreciated. Thanks in advance.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.