Skip to content

Commit

Permalink
Merge pull request dmlc#859 from thirdwing/master
Browse files Browse the repository at this point in the history
[Doc] documents update. close dmlc#821
  • Loading branch information
tqchen committed Feb 24, 2016
2 parents d063eac + 1cc0a44 commit b3a81a2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 33 deletions.
17 changes: 11 additions & 6 deletions R-package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,24 @@ We are [on CRAN](https://cran.r-project.org/web/packages/xgboost/index.html) now
install.packages('xgboost')
```

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.

```r
devtools::install_git('git://github.com/dmlc/xgboost',subdir='R-package')
```

You can also install from our weekly updated drat repo:
```r
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](http://cran.r-project.org/bin/windows/Rtools/) first.

```bash
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](http://xgboost.readthedocs.org/en/latest/build.html#r-package-installation).

Examples
Expand Down
13 changes: 0 additions & 13 deletions doc/R-package/discoverYourData.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
---
title: "Understand your dataset with Xgboost"
output:
rmarkdown::html_vignette:
css: vignette.css
number_sections: yes
toc: yes
author: Tianqi Chen, Tong He, Michaël Benesty
vignette: >
%\VignetteIndexEntry{Discover your data}
%\VignetteEngine{knitr::rmarkdown}
\usepackage[utf8]{inputenc}
---

Understand your dataset with XGBoost
====================================
Expand Down
14 changes: 0 additions & 14 deletions doc/R-package/xgboostPresentation.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
---
title: "Xgboost presentation"
output:
rmarkdown::html_vignette:
css: vignette.css
number_sections: yes
toc: yes
bibliography: xgboost.bib
author: Tianqi Chen, Tong He, Michaël Benesty
vignette: >
%\VignetteIndexEntry{Xgboost presentation}
%\VignetteEngine{knitr::rmarkdown}
\usepackage[utf8]{inputenc}
---

XGBoost R Tutorial
==================
Expand Down
10 changes: 10 additions & 0 deletions doc/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@ First follow [Building on OSX](#building-on-osx) to get the OpenMP enabled compi
install.packages("xgboost", repos="http://dmlc.ml/drat/", type = "source")
```

Due to the usage of submodule, `install_github` is no longer support to install the
latest version of R package. To install the latest version,

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

## Trouble Shooting

1. **Compile failed after `git pull`**
Expand Down

0 comments on commit b3a81a2

Please sign in to comment.