我无法安装将 R 更新到版本 4.3.3 的“rms”

问题描述 投票:0回答:1

我刚刚将 R 更新到 4.3.3,但找不到 rms 包。我收到以下错误。会出现什么问题,我该怎么办?谢谢。

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 4.0 (installed at C:\RBuildTools\4.0)

Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Warning in install.packages :
  package ‘rms’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at

我正在尝试在 R 中安装 rms。

r install.packages rms
1个回答
0
投票

无论您要安装什么,R 版本 4.3.x 都需要安装 Rtools 4.3。在 Windows 上,Rtools 对于需要编译的包至关重要,例如 rms

需要编译:是

如果您仍然遇到

package ‘rms’ is not available for this version of R

,请尝试从源代码
安装旧版本的

rms

 
    
© www.soinside.com 2019 - 2024. All rights reserved.