README.md

R-CMD-check CRAN Downloads Codecov test coverage

R/igraph igraph website

R/igraph is an R package of the igraph network analysis library.

Installation

You can install the stable version of R/igraph from CRAN:

install.packages("igraph")

For the development version, you can use R-universe

options(
  repos = c(
    igraph = 'https://igraph.r-universe.dev',
    CRAN = 'https://cloud.r-project.org'
  )
)
install.packages('igraph')

or Github, with the pak package:

pak::pak("igraph/rigraph")

When compiling from sources, make sure that you have C, C++ and Fortran compilers, as well as development packages for glpk and libxml2. On Debian/Ubuntu, use apt install libglpk-dev libxml2-dev. On Fedora, use yum install glpk-devel libxml2-devel.

For installation from source on Windows, you need to have RTools installed. For versions R >= 4.0 you can install the dependencies using:

pacman -Sy mingw-w64-{i686,x86_64}-glpk mingw-w64-{i686,x86_64}-libxml2

Installation troubleshooting

See the Installation FAQ.

Documentation

See the igraph package's website for the complete manual.

Contributions

Please read our contribution guide.

License

GNU GPL version 2 or later

Contributors

All contributions to this project are gratefully acknowledged using the allcontributors package following the all-contributors specification. Contributions of any kind are welcome!

gaborcsardi ntamas vtraag szhorvat krlmlr adalisan igraph pupamanyu Antonov548 dmurdoch clpippel dougmet wael-sadek kasterma cfhammill clhunsen rundel qsz13 DexGroves QuLogic dalloliogm Hosseinazari hclimente jooolia MajoroMask MatthieuStigler mhils das-intensity peranti RahulHP raulzr richardfergie zeehio simoncarrignon smoe covoes mirca adriandiazlab aleszib cynthiahqy etheleon stnava

igraph/rigraph documentation built on May 4, 2024, 6:31 a.m.