Tag Archives: GitHub

How to use R packages from GitHub

Update: The following R commands will install a package directly from GitHub to R: > if (!require(“devtools”)) install.packages(“devtools”) > devtools::install_github(“YYY/ZZZ”) where YYY is the GitHub username and ZZZ is the package name. For example to install TStools use: > devtools::install_github(“trnnick/TStools”) This makes the process described below unnecessary, however if you want the ‘full’ story read… Read More »