我已经更新了 r、rtools 和 rstudio。但好像找不到make.exe
, 而在C:\rtools40\usr\bin\make.exe
它存在。
> find_rtools()
[1] TRUE
> Sys.which('make')
make
""
> R.Version()$version.string
[1] "R version 4.0.3 (2020-10-10)"
Rtools是从rtools40-x86_64.exe下载的https://cran.r-project.org/bin/windows/Rtools/ https://cran.r-project.org/bin/windows/Rtools/。
所有软件包都是最新的(Rstudio 告诉我的)。
当我尝试安装使用 Rcpp 构建的包时,它返回
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'testpkg'
并且安装失败。我有什么办法可以处理吗?
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)