Re: Error - "cannot connect to URL"
Rui Barradas <[email protected]> Wed, 15 Jul 2026 18:09:52 +0100
| Newsgroups | gmane.comp.lang.r.general |
|---|---|
| Message-ID | <[email protected]> |
Às 14:22 de 15/07/2026, Damodar, Shilpa (Postgraduate Student) escreveu: > 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. Hello, It's difficult to say what is going on but if you open a Terminal window (or cmd in Windows) and run Rscript -e "install.packages('pkg_name', repos = 'https://cloud.r-project.org/')" does it work? Can you run sessionInfo() and post its output? Hope this helps, Rui Barradas