Install and start using the igraph R package
igraph is on CRAN and can be installed from within R:
On Linux (and other Unix-like systems, but not on OSX),
a C and a C++ compiler is needed, and also the tool
make. On Debian and Ubuntu Linux the
build-essential package installs these.
libxml2library, including header files, is needed for the ability of reading GraphML files. On Ubuntu and Debian Linux the
libxml2-devpackages are needed.
tcltkR package is needed for
rglR package is needed for
apepackage is needed to plot nice dendrograms with
igraphmanual page is a good place to start.
demo(package="igraph")(or use igraphdemo() if you have
tcltk) to get a list of demos.
Note that this documentation is included in the R
package. You can use
help("igraph") as a starting point.
The simplest way to install the igraph R package is typing
install.packages("igraph") in your R session.
If you want to download the package manually, the following link leads you to the page of the latest release on CRAN where you can pick the appropriate source or binary distribution yourself.
Clone (or fork) the
dev branch from the
repository on github.
Post your question on the igraph support forum. Make sure that you include a minimal reproducible example, complete with code and data.
Post specific igraph questions on
Stack Overflow. Make sure that you include the
igraph tag and that you include a reproducible
example, complete with code and data.
Report bugs or suggest new features or algorithms in the GitHub issue tracker.
Your contribution is more than welcome!