Skip to content

heavywatal/rigraphlite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

igraphlite

CRAN Status Badge R Build status codecov

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
  • GLPK
  • libxml2
  • NOT required:
    • R igraph package
    • C igraph library: igraphlite can use an existing igraph library for faster installation if it is built with IGRAPH_INTEGER_SIZE=32 and found by CMake find_package(). For example, brew install heavywatal/tap/igraph32 provides such a library. Environment variables ${igraph_ROOT} and ${CMAKE_PREFIX_PATH} can be used to help CMake find it. if not found, an appropriate version is built and installed automatically.

macOS:

brew install cmake glpk

Ubuntu:

sudo apt install build-essential cmake libglpk-dev libxml2-dev

Installation

# install.packages("pak")
pak::pak("heavywatal/rigraphlite")

About

🚧 Lightweight R Interface to igraph Network Analysis Library

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages