# Installation failed due to "unable to access any URL"

**URL:** <https://igraph.discourse.group/t/installation-failed-due-to-unable-to-access-any-url/1797>\
**Category:** Installation\
**Tags:** R\
**Created:** [29 March 2024 03:17 UTC](https://igraph.discourse.group/t/installation-failed-due-to-unable-to-access-any-url/1797 "2024-03-29T03:17:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rushi](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@rushi](https://igraph.discourse.group/u/rushi)\
**Post date:** [29 March 2024 03:17 UTC](https://igraph.discourse.group/t/installation-failed-due-to-unable-to-access-any-url/1797/1 "2024-03-29T03:17:56Z")

</div>

Could anyone explain why this error is occuring and how to troubleshoot?  
I am controlling my school’s computer remotely and installed R 4.1.3 from the package in the school’s computer.  
This is my session info:

> sessionInfo()  
> R version 4.1.3 (2022-03-10)  
> Platform: x86\_64-w64-mingw32/x64 (64-bit)  
> Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:  
[1] LC\_COLLATE=English\_United States.1252 LC\_CTYPE=English\_United States.1252  
[3] LC\_MONETARY=English\_United States.1252 LC\_NUMERIC=C  
[5] LC\_TIME=English\_United States.1252

attached base packages:  
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):  
[1] compiler\_4.1.3 tools\_4.1.3 rstudioapi\_0.15.0

This is the warning and error messages when I tried installing igraph:

 ![Screenshot 2024-03-28 at 11.17.41 PM](https://global.discourse-cdn.com/free1/uploads/igraph/original/2X/e/ef85065567ca4d09b12e90bf659823e168bcd571.png)

---

<div class="post-metadata">

**Author:** ![szhorvat](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/szhorvat/32/3_2.png) [@szhorvat](https://igraph.discourse.group/u/szhorvat)\
**Post date:** [29 March 2024 12:39 UTC](https://igraph.discourse.group/t/installation-failed-due-to-unable-to-access-any-url/1797/2 "2024-03-29T12:39:28Z")

</div>

You are using an old, unsupported version of R, for which CRAN does not provide binary packages. CRAN only supports the last two versions of R (currently 4.2 and 4.3). This affects _all_ packages on CRAN, not just igraph.

I suggest upgrading to the latest R, which will make package installation much easier for you.

---

<div class="post-metadata">

**Author:** ![rushi](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@rushi](https://igraph.discourse.group/u/rushi)\
**Post date:** [29 March 2024 13:10 UTC](https://igraph.discourse.group/t/installation-failed-due-to-unable-to-access-any-url/1797/3 "2024-03-29T13:10:15Z")

</div>

Is there a way to install it locally? Cuz my school requires everyone to use R 4.1.3.

---

<div class="post-metadata">

**Author:** ![szhorvat](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/szhorvat/32/3_2.png) [@szhorvat](https://igraph.discourse.group/u/szhorvat)\
**Post date:** [29 March 2024 13:41 UTC](https://igraph.discourse.group/t/installation-failed-due-to-unable-to-access-any-url/1797/4 "2024-03-29T13:41:17Z")

</div>

I don’t use Windows so I can’t answer this. Why don’t you just try it? Some software can be installed without administrator access.

> [@rushi](#):
>
> Cuz my school requires everyone to use R 4.1.3.

You might want to make your school aware that they are making it impossible to install any binary R packages, making R almost useless on their systems.

If you look at the CRAN page of any R packages that include binary components, you will see that these are available only for r-release (current version), r-oldrel (previous version) and sometimes r-devel (which will become the next version). For example:

> **[rlang: Functions for Base Types and Core R and 'Tidyverse' Features](https://cran.r-project.org/web/packages/rlang/)**
>
> A toolbox for working with base types, core R features like the condition system, and core 'Tidyverse' features like tidy evaluation.

You can still install these packages yourself, but then you need to compile them from sources and install all their dependencies. This requires some level of expert knowledge and can’t easily be done on Windows without administrator access.

* * *

In short, the only reasonable answer here is to contact your school’s IT department and request that they make the software you need for your work available to you.

---

<div class="post-metadata">

**Author:** ![rushi](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@rushi](https://igraph.discourse.group/u/rushi)\
**Post date:** [30 March 2024 15:13 UTC](https://igraph.discourse.group/t/installation-failed-due-to-unable-to-access-any-url/1797/5 "2024-03-30T15:13:07Z")

</div>

Is there source history for igraph where I can find even older version of igraph so that my R4.1.3 can use it?

---

<div class="post-metadata">

**Author:** ![szhorvat](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/szhorvat/32/3_2.png) [@szhorvat](https://igraph.discourse.group/u/szhorvat)\
**Post date:** [30 March 2024 17:52 UTC](https://igraph.discourse.group/t/installation-failed-due-to-unable-to-access-any-url/1797/6 "2024-03-30T17:52:26Z")

</div>

As I said, to use older versions you need to compile them from source, for which you need to install the appropriate toolchain first. You will need administrator access to do this.

You’ll find older versions [on CRAN](https://cran.r-project.org/web/packages/igraph/) (see “archive”). You can easily install them using [the `pak` package](https://pak.r-lib.org/) (but compilation from source will be necessary).
