Question: how to install igraph library in r?
Answer: Installation. You can install the stable version of R/igraph from CRAN: install.packages("igraph") ... 
Documentation. See the igraph homepage for the complete manual.
Contributions. Please read our contribution guide.
License. GNU GPL version 2 or later.