R dependent library installation troubleshooting

igraph

Please install igraph with the following r-script or the author’s instruction .

In R console,

install.packages("igraph")

If you get an error during installation, please check compilers. This GitHub issue page is helpful.

linkcomm

Please install linkcomm with the following r-script or the author’s instruction .

In R console,

install.packages("linkcomm")

rnetcarto

  1. rnetcarto requires the GNU scientific libraries .

Please make sure your computational environment has GNU scientific libraries. In short, you can quickly install GNU scientific libraries as follows.

For Linux users, please run the code below in the terminal.

sudo apt-get install libgsl-dev

For MacOS users, please run the code below in the terminal.

brew install gsl

For more infoamation about GNU scientific library installation, please look at here .

  1. rnetcarto is temporaliry unavailable through CRAN (at Jan 5 2021).

But you can install rnetcarto with source file .

In short, please run the code below in R console.

install.packages("https://cran.r-project.org/src/contrib/Archive/rnetcarto/rnetcarto_0.2.4.tar.gz",
                 repos = NULL, type = "source", configure.args = '--host=host')