從R 4.0.0(2020年4月發(fā)布)開始,R for Windows使用了一個(gè)全新的工具鏈捆綁包rtools40物赶。
Starting with R 4.0.0 (released April 2020), R for Windows uses a brand new toolchain bundle called?rtools40.
這個(gè)版本的Rtools將mingw-w64 gcc工具鏈升級到了8.3.0版本白指,并引入了基于msys2的新構(gòu)建系統(tǒng),使得R本身以及Windows上R包所需的系統(tǒng)庫的構(gòu)建和維護(hù)變得更加容易酵紫。
This version of Rtools upgrades the mingw-w64 gcc toolchains to version 8.3.0, and introduces a new build system based on?msys2, which makes easier to build and maintain R itself as well as the system libraries needed by R packages on Windows. For more information about the latter, follow the links at the bottom of this document.
This documentation is about rtools40, the current version used for R 4.0.0 and newer. For information about previous versions of Rtools that can be used with R 3.6.3 or older, please visit?this page.
To use rtools40, download the installer from CRAN:
On Windows 64-bit:?rtools40-x86_64.exe?(recommended: includes both i386 and x64 compilers)
On Windows 32-bit:?rtools40-i686.exe?(i386 compilers only)
安裝教程參考:
1. R 安裝Rtools? ? ? ?https://zhuanlan.zhihu.com/p/147573163
2. WINDOWS如何配置Path環(huán)境變量? ? ? ?https://jingyan.baidu.com/article/60ccbcebad4fe964cab197c7.html