Theo Pepler
Home | Research | Teaching | Software | Links | HOWTO'sHOWTO: INSTALL R PACKAGES FROM GITHUB REPOSITORIES
- In R, install and load the devtools package with
install.packages('devtools')
library(devtools) - Install the package from the GitHub repository with a command like (for the cpc package hosted at https://github.com/tpepler/cpc, for example)
install_github('tpepler/cpc')
- Load the installed package in R with
library(cpc)
and it will be ready to use.