Unable to connect Rstudio to CRAN repository to download packages

Hello,
I am aware that this question has been answered by the community before but I am still facing the under-mentioned error after disabling the firewall, antivirus and even tried options(download.file.method = "wininet", url.method = "wininet") to enable HTTPS but to no resolve. Please help me connect RStudio to internet.

Blockquote

Warning: unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'

Can you share the command you are using and the whole error message?

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.