Rtools 无法安装在 windows 的开发版本的 R 上?
Rtools can't be installed on windows under devel version of R?
我正在尝试在 Windows 8.1 上使用 RStudio 构建 R 包。当我尝试通过 RStudio 的构建面板构建包时,我收到:
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
当我在控制台中键入命令时:
install.packages("Rtools")
Installing package into ‘C:/Users/xxx/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘Rtools’ is not available (for R Under development)
第一次在 Rstudio 中构建 R 包,我很困惑我应该使用 install.packages(),还是直接从 CRAN 安装 .exe 文件。在 Rstudio 上进行包构建的正确做法是什么?我使用了 R 的开发版本。任何人都可以给我快速解决这个问题吗?非常感谢
我从 CRAN 下载 Rtools.exe 并安装在我的机器上,都尝试了 33,34.exe,并重新启动 Rstudio,但仍然无法构建我的包,它一直说:
WARNING: Rtools is required to build R packages but no version of Rtools compatible with the currently running version of R was found. Note that the following incompatible version(s) of Rtools were found:
- Rtools 3.3 (installed at c:\Rtools)
Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
从这里下载并像软件一样安装。
https://cran.r-project.org/bin/windows/Rtools/
我正在尝试在 Windows 8.1 上使用 RStudio 构建 R 包。当我尝试通过 RStudio 的构建面板构建包时,我收到:
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
当我在控制台中键入命令时:
install.packages("Rtools")
Installing package into ‘C:/Users/xxx/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘Rtools’ is not available (for R Under development)
第一次在 Rstudio 中构建 R 包,我很困惑我应该使用 install.packages(),还是直接从 CRAN 安装 .exe 文件。在 Rstudio 上进行包构建的正确做法是什么?我使用了 R 的开发版本。任何人都可以给我快速解决这个问题吗?非常感谢
我从 CRAN 下载 Rtools.exe 并安装在我的机器上,都尝试了 33,34.exe,并重新启动 Rstudio,但仍然无法构建我的包,它一直说:
WARNING: Rtools is required to build R packages but no version of Rtools compatible with the currently running version of R was found. Note that the following incompatible version(s) of Rtools were found:
- Rtools 3.3 (installed at c:\Rtools)
Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
从这里下载并像软件一样安装。 https://cran.r-project.org/bin/windows/Rtools/