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")
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 versions R >= 4.0 you can install these
using
pacman -Sy mingw-w64-{i686,x86_64}-glpk mingw-w64-{i686,x86_64}-libxml2 mingw-w64-{i686,x86_64}-gmp
See the package wiki for more information on installation troubleshooting.
See the igraph homepage for the complete manual.
Please read our contribution guide.
GNU GPL version 2 or later