Re: Error - "cannot connect to URL"

Roy Mendelssohn - NOAA Federal via R-help <[email protected]> Wed, 15 Jul 2026 09:58:00 -0700
Newsgroups gmane.comp.lang.r.general
Message-ID <[email protected]>
Hi Shilpa:

I think it would help if you can provide a little more information.  First =
would be which OS and what version,  the R version you have installed and t=
he RStudio version,  which repo you have RStudio set to use and have you tr=
ied setting to another one,  and also have you tried to install packages ou=
tside of RStudio, to make certain it is not an RStudio problem.  Also are y=
ou running your personal laptop and the NHS laptop from the same place.

If I had to guess I would guess you are seeing a proxying issue but there i=
s not enough information to know for certain.

HTH,

-Roy

> On Jul 15, 2026, at 6:22=E2=80=AFAM, Damodar, Shilpa (Postgraduate Studen=
t) <[email protected]> wrote:
> =

> Hello,
> =

> I am a student in the UK and use RStudio for my coursework and research p=
rojects. I have been using RStudio on my personal laptop for over nine mont=
hs without any issues.
> Recently, I was provided with an NHS organisation laptop for my project, =
and I installed RStudio on that device as well. However, I am now encounter=
ing a problem where I am unable to install any packages. RStudio consistent=
ly returns the error message: "cannot connect to URL."
> Both the IT team and I have been trying to identify and resolve the issue=
, but we have not yet been able to determine the cause.
> I would greatly appreciate any guidance or assistance you can provide in =
resolving this issue. Thank you for your time and support.
> Thanks  and regards,
> Shilpa
> =

> [[alternative HTML version deleted]]
> =

> ______________________________________________
> [email protected] mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide https://www.R-project.org/posting-guide.=
html
> and provide commented, minimal, self-contained, reproducible code.