How do I download R packages from GitHub?

How do I download R packages from GitHub?
Answer
How to install a package from GitHub
  1. First, you need to install the devtools package. You can do this from CRAN.
  2. Load the devtools package. library(devtools)
  3. In most cases, you just use install_github(“author/package”) . For example, with my R/broman package, which exists at github.com/kbroman/broman, you’d type.
 

Tìm kiếm

Back
Top