Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 904 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 904 Bytes

DMLC drat Repo

This drat package repository provides R packages from DMLC code repositories.

Usage

# first add the repo
drat::addRepo("dmlc")
# either install just one or more given packages
install.packages("xgboost")
# or update already installed packages
update.packages()

Note

The mxnet package has been moved to S3.

To install the CPU-only package on Windows/OSX:

cran <- getOption("repos")
cran["dmlc"] <- "https://s3-us-west-2.amazonaws.com/apache-mxnet/R/CRAN/"
options(repos = cran)
install.packages("mxnet")

To install the GPU-enabled package on Windows:

cran <- getOption("repos")
cran["dmlc"] <- "https://s3-us-west-2.amazonaws.com/apache-mxnet/R/CRAN/GPU"
options(repos = cran)
install.packages("mxnet")

License

Packages in this repository are available under their respective license.