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 the RStudio version, which repo you have RStudio set to use and have you tried setting to another one, and also have you tried to install packages outside of RStudio, to make certain it is not an RStudio problem. Also are you 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 is not enough information to know for certain. HTH, -Roy > On Jul 15, 2026, at 6:22 AM, Damodar, Shilpa (Postgraduate Student) > <[email protected]> wrote: > > Hello, > > I am a student in the UK and use RStudio for my coursework and research > projects. I have been using RStudio on my personal laptop for over nine > months 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 encountering a > problem where I am unable to install any packages. RStudio consistently > 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. ______________________________________________ [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.

