Skip to contents

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

Installation

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

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!

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