igraphlite is a cpp11-powered R package interface to igraph network analysis library. It is not a fork of the existing R igraph package, but a reboot from scratch striving for good performance, simple codebase, and the consistency with the C implementation.
Requirements
- Unix-like environment (macOS, Linux, WSL, MinGW on MSYS2, etc.)
- C++17 compiler (clang++ >= Apple clang 11.0, g++ >= 9.1)
- CMake (>= 3.20.0)
- NOT required:
- R igraph package
- C igraph library: igraphlite first tries to
find_package()
in${igraph_ROOT}
and${CMAKE_PREFIX_PATH}
; if not found, it builds and installs an appropriate version automatically.
Installation
# install.packages("devtools")
devtools::install_github("heavywatal/rigraphlite")