Skip to content

igraph/rigraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R-CMD-check CRAN Downloads

R/igraph

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 devtools package:

devtools::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.

Documentation

See the igraph homepage for the complete manual.

Contributions

Please read our contribution guide.

License

GNU GPL version 2 or later