xgboost/R-package/README.md
2016-03-13 12:13:41 -07:00

2.0 KiB

XGBoost R Package for Scalable GBM

CRAN Status Badge CRAN Downloads Documentation Status

Resources

Installation

We are on CRAN now. For stable/pre-compiled(for Windows and OS X) version, please install from CRAN:

install.packages('xgboost')

You can also install from our weekly updated drat repo:

install.packages("drat", repos="https://cran.rstudio.com")
drat:::addRepo("dmlc")
install.packages("xgboost", repos="http://dmlc.ml/drat/", type="source")

Important Due to the usage of submodule, install_github is no longer support to install the latest version of R package. For up-to-date version, please install from github. Windows user will need to install RTools first.

git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
make Rbuild
R CMD INSTALL xgboost_0.4-3.tar.gz

For more detailed installation instructions, please see here.

Examples