![R-CMD-check](https://github.com/igraph/rigraph/workflows/R-CMD-check/badge.svg)
![CRAN Downloads](https://cranlogs.r-pkg.org/badges/igraph)
[![Codecov test coverage](https://codecov.io/gh/igraph/rigraph/branch/main/graph/badge.svg)](https://app.codecov.io/gh/igraph/rigraph?branch=main)
# 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:
```r
install.packages("igraph")
```
For the development version, you can use R-universe
```r
options(
repos = c(
igraph = 'https://igraph.r-universe.dev',
CRAN = 'https://cloud.r-project.org'
)
)
install.packages('igraph')
```
or Github, with the [pak package](https://pak.r-lib.org/):
```r
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](https://cran.r-project.org/bin/windows/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](https://r.igraph.org/articles/installation-troubleshooting).
## Documentation
See the [igraph package's website](https://r.igraph.org/) for the complete manual.
A good entry point is the "Get started" vignette, in [English](https://r.igraph.org/articles/igraph.html) or [Spanish](https://r.igraph.org/articles/igraph_ES.html).
For an overview of igraph's functionality see the [reference index](https://r.igraph.org/reference/index.html).
It includes [experimental functions](https://r.igraph.org/reference/index.html#experimental-functions) on which we especially welcome feedback
(but feedback on any function is appreciated)!
## Contributions
Please read our
[contribution guide](https://github.com/igraph/rigraph/blob/dev/CONTRIBUTING.md).
## License
GNU GPL version 2 or later
## Contributors
All contributions to this project are gratefully acknowledged using the [`allcontributors` package](https://github.com/ropensci/allcontributors) following the [all-contributors](https://allcontributors.org) specification. Contributions of any kind are welcome!
### Code
gaborcsardi
krlmlr
maelle
ntamas
szhorvat
Antonov548
vtraag
adalisan
ngmaclaren
iosonofabio
dmurdoch
pupamanyu
olivroy
kalibera
hadley
Matyasch
clpippel
dougmet
wael-sadek
das-intensity
peranti
RahulHP
raulzr
richardfergie
zeehio
simoncarrignon
smoe
covoes
mirca
adriandiazlab
a-lambda
aleszib
person-c
cynthiahqy
etheleon
knwng
stnava
ahmohamed
kasterma
cfhammill
clhunsen
rundel
qsz13
DexGroves
QuLogic
dalloliogm
Hosseinazari
hclimente
jeroen
jooolia
reuning
louisaslett
MajoroMask
MatthieuStigler
mhils
mfansler
### Issue Authors
satuhelske
happyshows
pschmied
cndesantana
ronammar
songw01
MonicaStefu
sam-s
ko-ichi-h
ameyahate
zachmayer
nickbloom
steinee
beew
cboettig
mbojan
danielturek
lpantano
CHarkerRhodes
briatte
pfgherardini
nktkee
BrianDiggs
shifunan
ecalvo68
pooryorick
alumbreras
Holzhauer
wangzk
ramnathv
Pablo1990
sanmai-NL
pachevalier
nathaniel-mahieu
tylmoss
Lucaweihs
rustyconover
youngser
Tixierae
hecking
proj786
fbreitwieser
mabafaba
anudeepchimakurthi
ugroempi
gvegayon
wjmaddox
saramelvin
atxmar001
emilBeBri
byrney
aterhorst
benibela
geoHeil
vd4mmind
otoomet
benjaminpelissie
MrBeardface
ngr-t
wzds2015
thomasp85
adfi
zkamvar
Lcarey
mkoohafkan
rafapereirabr
XiaomoWu
gtms
mvanins
HTizard
mjsteinbaugh
yangstat
MattMyint
ebridge2
00joshi
jaworskicoline
rohan-shah
liuyifang
alexandergerber
wlandau
ADENIRANADEBIYI
gaiazaff
ahmontgo
PinakiGhosh
otsaw
Noah89
hktan0131
tintinthong
jderry
smichard
GianRos
pm321
jpalowitch
Xiaojieqiu
alexdeluca
mohamed-badawy-sp
jakobgerstenlauer
knbknb
dpmcsuss
SantiFilippo
oganm
ludwikbukowski
tardigradus
TomKellyGenetics
mick001
sammo3182
joycewang914
FilipeamTeixeira
tyleransom
Prooffreader
gabora
floswald
beemyfriend
willnotburn
vhcandido
OscarSouth
DarioS
leifeld
alubbock
anova00
gmfricke
smartinsightsfromdata
matt-wirtz
antonkratz
pkharchenko
billdenney
liyq601
bommert
richierocks
ekernf01
Lily-WL
vancleve
qalid7
petershan1119
kenahoo
alessiaf
songh-ss
adndebanane
evebohnett
olyerickson
jooyoungseo
ntillie
TiagoVentura
AndreMikulec
prehensilecode
LalZzy
cxd1995
SalimMegat
xiwa2006
fmccown
andybeet
devanssjc
tikboaHIT
vkehayas
iaconogi
robertamezquita
gholl0
lijing28101
pipii355
ImNotaGit
mcenno
coelhocao
cslycord
topl0305
jxu
Pozdniakov
rozlynboutin
Enchufa2
MabroukAhmed
vronizor
jdfoote
myildir3
pmp55
cccfran
Osterhhase
arencambre
pat-s
pollicipes
huijfeng
jfb-h
mihirp161
komalsrathi
SamGG
bergen288
ourrym
heinonmatti
Lin936
jsfalk
mikeaalv
aabor
torfason
GrayAlex49
dylanzhao1993
rossinerbe
englianhu
ManuelHentschel
NeginValizadegan
MingwuDuan
vagabond12
Thijss
brook-milligan
Close-your-eyes
moldach
lcolladotor
fubingting
mgirlich
BenxiaHu
mostafiz67
mathlandry
deeenes
ray1919
wanglu2014
ha5dzs
arcresu
HughParsonage
leofontenelle
privefl
samlipworth
spocks
ggrothendieck
dn-ra
DavisVaughan
pozsgaig
BurhanSabuwala
youngjinkim81
dbarneche
JacobElder
Tom-python0121
pfuehrlich-pik
Selbosh
YulongNiu
seedvestige
brooksambrose
bockthom
evanbiederstedt
dokato
VPetukhov
hpages
jobeid
drives28
levinhein
massimoaria
steve-real
aaelony-aeg
jessexknight
dipterix
rLannes
Jeff87075
Chengwei94
michaelschwob
lufuhao
tedmoorman
robert-koetsier
stefpeschel
yli223
zaynabhammoud
MANZHAOHUI
tillea
barracuda156
HenrikBengtsson
zhen-fu
3SMMZRjWgS
dbswls0322
JamesThompsonC
swaheera
heathergaya
igibek
simonheb
Amalthyia
LuShuYangMing
Carol-seven
ramiromagno
pehenne12
jskvor
riccardocadei
davidskalinder
szymanskiburgos
suthers
mthompsonecologic
silasalvescosta
luukvdmeer
jszhao
stephenashton-dhsc
joshua-zh
noriakis
jefferis
gherrarte
tdhock
CdeMills
csqsiew
maksymiuks
JJ
gauzens
ababaian
DOSull
jhollway
schochastics
### Issue Contributors
timelyportfolio
elbamos
tomkom
JonnoB
nickeubank
jose2007kj
ChrisHIV
ramsairaguru
cchan
swainjo
HedvigS
mdoellma
shawnpg
kforner
alessandrobessi
jimhester
kinzaR
mkhezr
jmw86069
ivirshup
ktmeaton
bvaldebenitom
se4u
rkarpienko
melprice
dtenenba
kdaily
djerbirachid
gdreiman1
ctavplay
jkraut
justincbagley
feelosophy13
richardbeare
rtrigg
mlindsk
SimonStolz
jldevezas
hugokoopmans
ck37
fonnesbeck
djhurio
gustavahlberg
jankowtf
akahanaton
ashiklom
admercs
achekroud
zhiyzuo
jokedurnez
omarparr
souzapd
gdkrmr
theclue
basiliomp
jtfeld
TwlyY29
tvatter
MichaelChirico
fairmiracle
wlandau-lilly
jonashaag
Kodiologist
alugowski
cchng
venkatachalapathy
jeffcav
Deleetdk
thibautjombart
bersbersbers
rbreunev
OnlyBelter
Anna-qwerty
arpitghiya-zz
bplatt21
Norali81
shubham1637
sbaudoin
SKrPl
colinwxl
whitleyo
EricPeter
yuxiaokang-source
D-Harouni
taosun112
MEFarhadieh
CosBa
ben519
bachi55
shiosai
StephCarr
kosmoz
alexperrone
nacnudus
jmonlong
lazappi
LTLA
MariaHei
rmflight
daf
biosas
wayne-emery
igordot
MMJansen
ThreadNet
JLPuga
ahbon123
nershman
pchtsp
zettsu-t
izahn
ltierney
domi84
asuccurro
shabbybanks
hokkaido
mokawi
rachitkinger
achubaty
fusaroli
irudnyts
ShixiangWang
XYZuo
dirediredock
mcas-git
angelovaag
kojikoji
mawds
jlblancopastor
ChemiKyle
genecell
HUNNNGRY
seanv507
cls3415
kendonB
zlfccnu
TheRealDrDre
sbushmanov
oliserand
cramjaco
FloHu
hsiaoyi0504
haotianteng
gustavomirapalheta
HemingLiao
xiaochen2015
Jidgdoi
WilliamBarela
HenrikEckermann
danielee0707
chengarthur
jake-bioinfo
ShotaOchi
gjhuizing
mgei
airuchen
qjgods
matteodelucchi
ssh352
yfu1116
igorkf
botellaflotante
Ge526874
mooresm
MKLau
bretonics
aittomaki
cdueben
Vivianstats
amin-kaveh
LaurentBerder
alfonsocheng1025
mtaghizadehbioinf
bollard
dchiu911
griznog
harryprince
960801
nograpes
ppdouble
djb17
DevGra
jmarshallnz
LTribelhorn
pagarwal14
grandtiger
davidzbiral
daissi
PrashantPaunipagar
kzuza
Colelyman
davemcg
SimonMontfort
Matherion
jan-glx
pacificma
nickharrigan
hua1991
milanmlft
GroteGnoom
zx8754
saeedfc
testtraag
see24
ex-tag
yonirab
mdeea
lpalbou
parthdacoder
ucb
xiaoying201355
zhpn1024
sclewis23
paleolimbot
vjcitn
georgestagg
rfsaldanha
nipnipj
peibana
mpadge
emilio-berti