Skip to content

shmohammadi86/NetLibR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Main NetLibR repository

Installation

Linux

Install igraph c++ interface:

sudo apt-get install libigraph0-dev
#Or install it from the source from https://igraph.org/c/.

Install boost library:

sudo apt-get install libboost-graph-dev

Now you can install ACTIONet package with devtools in R:

install.packages("devtools")
devtools::install_github("shmohammadi86/NetLibR")

Mac OS

Install the latest version of clang compiler with OpenMP support

brew install llvm

Install igraph c++ interface

brew install igraph
#Or install it from the source from https://igraph.org/c/.

install boost library:

brew install boost

Make sure updated clang is used for compiling R packages -- in terminal

mkdir -p ~/.R && echo -e "CXXFLAGS=-std=c++14 -lstdc++ -w -m64 -fPIC -march=native -O4\nCXX=/usr/local/opt/llvm/bin/clang++\n" > ~/.R/Makevars

Now you can install ACTIONet package with devtools in R:

install.packages("devtools")
devtools::install_github("shmohammadi86/NetLibR")

About

Collection of useful network-based algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published