File tree 4 files changed +21
-33
lines changed
4 files changed +21
-33
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,24 @@ We are [on CRAN](https://cran.r-project.org/web/packages/xgboost/index.html) now
19
19
install.packages(' xgboost' )
20
20
```
21
21
22
- For up-to-date version, please install from github. Windows user will need to install [ RTools] ( http://cran.r-project.org/bin/windows/Rtools/ ) first.
23
-
24
- ``` r
25
- devtools :: install_git(' git://github.com/dmlc/xgboost' ,subdir = ' R-package' )
26
- ```
27
-
28
22
You can also install from our weekly updated drat repo:
29
23
``` r
30
24
install.packages(" drat" , repos = " https://cran.rstudio.com" )
31
25
drat ::: addRepo(" dmlc" )
32
26
install.packages(" xgboost" , repos = " http://dmlc.ml/drat/" , type = " source" )
33
27
```
34
28
29
+ *** Important*** Due to the usage of submodule, ` install_github ` is no longer support to install the
30
+ latest version of R package.
31
+ For up-to-date version, please install from github. Windows user will need to install [ RTools] ( http://cran.r-project.org/bin/windows/Rtools/ ) first.
32
+
33
+ ``` bash
34
+ git clone --recursive https://github.com/dmlc/xgboost
35
+ cd xgboost
36
+ make Rbuild
37
+ R CMD INSTALL xgboost_0.4-3.tar.gz
38
+ ```
39
+
35
40
For more detailed installation instructions, please see [ here] ( http://xgboost.readthedocs.org/en/latest/build.html#r-package-installation ) .
36
41
37
42
Examples
Original file line number Diff line number Diff line change 1
- ---
2
- title : " Understand your dataset with Xgboost"
3
- output :
4
- rmarkdown::html_vignette :
5
- css : vignette.css
6
- number_sections : yes
7
- toc : yes
8
- author : Tianqi Chen, Tong He, Michaël Benesty
9
- vignette : >
10
- %\VignetteIndexEntry{Discover your data}
11
- %\VignetteEngine{knitr::rmarkdown}
12
- \usepackage[utf8]{inputenc}
13
- ---
14
1
15
2
Understand your dataset with XGBoost
16
3
====================================
Original file line number Diff line number Diff line change 1
- ---
2
- title : " Xgboost presentation"
3
- output :
4
- rmarkdown::html_vignette :
5
- css : vignette.css
6
- number_sections : yes
7
- toc : yes
8
- bibliography : xgboost.bib
9
- author : Tianqi Chen, Tong He, Michaël Benesty
10
- vignette : >
11
- %\VignetteIndexEntry{Xgboost presentation}
12
- %\VignetteEngine{knitr::rmarkdown}
13
- \usepackage[utf8]{inputenc}
14
- ---
15
1
16
2
XGBoost R Tutorial
17
3
==================
Original file line number Diff line number Diff line change @@ -180,6 +180,16 @@ First follow [Building on OSX](#building-on-osx) to get the OpenMP enabled compi
180
180
install.packages(" xgboost" , repos=" http://dmlc.ml/drat/" , type = " source" )
181
181
` ` `
182
182
183
+ Due to the usage of submodule, ` install_github` is no longer support to install the
184
+ latest version of R package. To install the latest version,
185
+
186
+ ` ` ` bash
187
+ git clone --recursive https://github.com/dmlc/xgboost
188
+ cd xgboost
189
+ make Rbuild
190
+ R CMD INSTALL xgboost_0.4-3.tar.gz
191
+ ` ` `
192
+
183
193
# # Trouble Shooting
184
194
185
195
1. ** Compile failed after ` git pull` **
You can’t perform that action at this time.
0 commit comments