Skip to content

Commit e8f27f6

Browse files
committed
Update windows toolchain docs to rtools45, stable URLs
1 parent f8266c7 commit e8f27f6

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

src/cmdstan-guide/installation.qmd

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -397,20 +397,20 @@ g++ --version
397397
make --version
398398
```
399399

400-
CmdStan is known compatible with the RTools44 toolchain. The toolchain will require
400+
CmdStan is known compatible with the RTools45 toolchain. The toolchain will require
401401
updating your `PATH` variable, See [these instructions](https://helpdeskgeek.com/windows-10/add-windows-path-environment-variable/)
402402
for details on changing the `PATH` if you are unfamiliar. The following instructions will assume that the default installation
403403
directory was used, so be sure to update the paths accordingly if you have chosen a different
404404
directory.
405405

406406

407-
##### RTools44
407+
##### RTools45
408408

409409
All required utilities (e.g., `make`, `g++`) for compiling and running CmdStan models on Windows are
410-
provided by the RTools44 toolchain from the R Project. Installation steps are provided below,
411-
and for more technical details on the toolchain refer to the [R Project documentation](https://cran.r-project.org/bin/windows/Rtools/rtools44/rtools.html).
410+
provided by the RTools45 toolchain from the R Project. Installation steps are provided below,
411+
and for more technical details on the toolchain refer to the [R Project documentation](https://cran.r-project.org/bin/windows/Rtools/rtools45/rtools.html).
412412

413-
The R Project provides RTools44 for both Intel/AMD 64-bit (x86_64) and ARM 64-bit (aarch64) systems.
413+
The R Project provides RTools45 for both Intel/AMD 64-bit (x86_64) and ARM 64-bit (aarch64) systems.
414414
If you are unsure which to use, then you can check by going to the Windows Settings, selecting the 'System' menu and then the 'About' option.
415415
If the 'System Type' field lists 'ARM-based processor', then you should follow the ARM64 instructions below.
416416

@@ -422,32 +422,24 @@ UCRT is only natively supported on Windows 10 and newer, older systems will requ
422422

423423
Download the installer and complete the prompts for installation:
424424

425-
- [RTools44](https://cran.r-project.org/bin/windows/Rtools/rtools44/files/rtools44-6335-6327.exe)
426-
427-
If the above link no longer works, navigate [here](https://cran.r-project.org/bin/windows/Rtools/rtools44/files/)
428-
and download the latest file which is named `rtools44-xxxx-yyyy.exe`
429-
(`x`s and `y`s will be different version numbers over time).
425+
- [RTools45](https://github.com/r-hub/rtools45/releases/download/latest/rtools45.exe)
430426

431427
Next, you need to add the toolchain directory to your `PATH` variable:
432428
```
433-
C:\rtools44\usr\bin
434-
C:\rtools44\x86_64-w64-mingw32.static.posix\bin
429+
C:\rtools45\usr\bin
430+
C:\rtools45\x86_64-w64-mingw32.static.posix\bin
435431
```
436432

437433
###### Installation - ARM 64-bit (arm64/aarch64)
438434

439435
Download the installer and complete the prompts for installation:
440436

441-
- [RTools44 - ARM64](https://cran.r-project.org/bin/windows/Rtools/rtools44/files/rtools44-aarch64-6335-6327.exe)
442-
443-
If the above link no longer works, navigate [here](https://cran.r-project.org/bin/windows/Rtools/rtools44/files/)
444-
and download the latest file which is named `rtools44-aarch64-xxxx-yyyy.exe`
445-
(`x`s and `y`s will be different version numbers over time).
437+
- [RTools45 - ARM64](https://github.com/r-hub/rtools45/releases/download/latest/rtools45-aarch64.exe)
446438

447439
Next, you need to add the toolchain directory to your `PATH` variable:
448440
```
449-
C:\rtools44-aarch64\usr\bin
450-
C:\rtools44-aarch64\aarch64-w64-mingw32.static.posix\bin
441+
C:\rtools45-aarch64\usr\bin
442+
C:\rtools45-aarch64\aarch64-w64-mingw32.static.posix\bin
451443
```
452444

453445
## Using GNU Make {#gnu-make}

0 commit comments

Comments
 (0)