Nguyễn Hồng Yến
New member
How do I download R packages from GitHub?
Answer
How to install a package from GitHub
Answer
How to install a package from GitHub
- First, you need to install the devtools package. You can do this from CRAN.
- Load the devtools package. library(devtools)
- 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.