If you do not already have R/RStudio installed, do as follows.
Open R and install the package. If the installation fails, ensure from the RStudio tools panel that you have access to the Bioconductor repository.
library(BiocManager)
BiocManager::install("microbiome")
Alternatively, to install the bleeding edge (potentially unstable) development version, run in R:
library(devtools) # Load the devtools package
install_github("microbiome/microbiome") # Install the package
Once the package has been installed, load it in R
library(microbiome)
For a brief overview, see the package vignette and the more extensive on-line tutorial.
Most R packages are maintained in CRAN, Bioconductor or Github. To install the package from each, use:
# Installing from Bioconductor
#source("http://www.bioconductor.org/biocLite.R")
BiocManager::install("MASS")
# Installing from CRAN
install.packages("sorvi")
# Installing from Github
library(devtools)
install_github("antagomir/netresponse")