You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R-package/README.md
+1-13Lines changed: 1 addition & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,8 +92,6 @@ Installing a 64-bit version of [Rtools](https://cran.r-project.org/bin/windows/R
92
92
After installing `Rtools` and `CMake`, be sure the following paths are added to the environment variable `PATH`. These may have been automatically added when installing other software.
93
93
94
94
*`Rtools`
95
-
- If you have `Rtools` 3.x, example:
96
-
- `C:\Rtools\mingw_64\bin`
97
95
- If you have `Rtools` 4.0, example:
98
96
- `C:\rtools40\mingw64\bin`
99
97
- `C:\rtools40\usr\bin`
@@ -104,7 +102,7 @@ After installing `Rtools` and `CMake`, be sure the following paths are added to
104
102
*`CMake`
105
103
- example: `C:\Program Files\CMake\bin`
106
104
*`R`
107
-
- example: `C:\Program Files\R\R-3.6.1\bin`
105
+
- example: `C:\Program Files\R\R-4.5.1\bin`
108
106
109
107
NOTE: Two `Rtools` paths are required from `Rtools` 4.0 onwards because paths and the list of included software was changed in `Rtools` 4.0.
110
108
@@ -120,16 +118,6 @@ A "toolchain" refers to the collection of software used to build the library. Th
120
118
121
119
By default, the package will be built with [Visual Studio Build Tools](https://visualstudio.microsoft.com/downloads/).
122
120
123
-
**MinGW (R 3.x)**
124
-
125
-
If you are using R 3.x and installation fails with Visual Studio, `LightGBM` will fall back to using [MinGW](https://www.mingw-w64.org/) bundled with `Rtools`.
126
-
127
-
If you want to force `LightGBM` to use MinGW (for any R version), pass `--use-mingw` to the installation script.
128
-
129
-
```shell
130
-
Rscript build_r.R --use-mingw
131
-
```
132
-
133
121
**MSYS2 (R 4.x)**
134
122
135
123
If you are using R 4.x and installation fails with Visual Studio, `LightGBM` will fall back to using [MSYS2](https://www.msys2.org/). This should work with the tools already bundled in `Rtools` 4.0.
0 commit comments