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")
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")