R/igraph is an R package of the igraph network analysis library.
You can install the stable version of R/igraph from CRAN:
install.packages("igraph")
For the development version, you can use Github, with the remotes
package:
remotes::install_github("igraph/rigraph@master")
The code in the master
branch is automatically generated from the dev
branch.
For installation from source on Windows, you need to have
RTools installed.
Additionally, the three system requirements of glpk
, libxml2
and gmp
are
not optional, but hard requirements. For version R > 4.0 you can install these
thee using
pacman -Sy mingw-w64-{i686,x86_64}-glpk mingw-w64-{i686,x86_64}-libxml2 mingw-w64-{i686,x86_64}-gmp
See the igraph homepage for the complete manual.
Please read our contribution guide.
GNU GPL version 2 or later