R (http://www.r-project.org) is a language and environment for statistical computing and graphics. We assume R (version 3.1.0 or higher) has been installed in your local machine. The latest version can be installed following instructions below for different platforms (Windows, Mac, and Linux).
Windows: Download R for Windows.
Quick link for
Mac: Download R for Mac OS X 10.6 (Snow Leopard or higher).
shell command lines in Terminal (for
Assume you have a
ROOT (sudo) privilege:
sudo su # here enter your password wget http://www.stats.bris.ac.uk/R/src/base/R-3/R-3.2.1.tar.gz tar xvfz R-3.2.1.tar.gz cd R-3.2.1 ./configure make make check make install R # start R
Assume you do not have a ROOT privilege and want R installation under your home directory ($HOME):
wget http://www.stats.bris.ac.uk/R/src/base/R-3/R-3.2.1.tar.gz tar xvfz R-3.2.1.tar.gz cd R-3.2.1 ./configure --prefix=$HOME/R-3.2.1 make make check make install $HOME/R-3.2.1/bin/R # start R
Notes: below are
R command lines (NOT shell command lines in Terminal).
First, install dependant/imported/suggested packages:
Second, install the package
dnet under stable release version hosted in CRAN:
highly recommended), update the package
dnet from latest development version hosted in GitHub:
library(devtools) if("dnet" %in% rownames(installed.packages())) remove.packages("dnet") install_github(c("hfang-bristol/dnet"))
It provides a brief overview of how the package operates and what you expect to get from it.