https://github.com/dmlc/drat
Drat Repository for DMLC R packages
https://github.com/dmlc/drat
Last synced: 4 months ago
JSON representation
Drat Repository for DMLC R packages
- Host: GitHub
- URL: https://github.com/dmlc/drat
- Owner: dmlc
- License: apache-2.0
- Created: 2015-10-19T17:36:31.000Z (over 9 years ago)
- Default Branch: gh-pages
- Last Pushed: 2017-09-14T03:47:22.000Z (almost 8 years ago)
- Last Synced: 2025-01-17T15:52:01.484Z (5 months ago)
- Size: 5.65 MB
- Stars: 4
- Watchers: 20
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## DMLC drat Repo
This [drat](http://dirk.eddelbuettel.com/code/drat.html) package repository provides R packages from DMLC code repositories.
### Usage
```{.r}
# 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:
```r
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:
```r
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.