This is the one last PR for removing omp global variable. * Add context object to the `DMatrix`. This bridges `DMatrix` with https://github.com/dmlc/xgboost/issues/7308 . * Require context to be available at the construction time of booster. * Add `n_threads` support for R csc DMatrix constructor. * Remove `omp_get_max_threads` in R glue code. * Remove threading utilities that rely on omp global variable.
XGBoost R Package for Scalable GBM
Resources
- XGBoost R Package Online Documentation
- Check this out for detailed documents, examples and tutorials.
Installation
We are on CRAN now. For stable/pre-compiled(for Windows and OS X) version, please install from CRAN:
install.packages('xgboost')
For more detailed installation instructions, please see here.
Examples
- Please visit walk through example.
- See also the example scripts for Kaggle Higgs Challenge, including speedtest script on this dataset and the one related to Otto challenge, including a RMarkdown documentation.
Development
- See the R Package section of the contributors guide.