问题描述
我最近更新到 R 版本 4.0.5。
我在 C:/rtools40
中安装了工具
然而,每次我运行 install.packages("rJava")
我得到以下信息:
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Pragyaditya Das/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rJava_1.0-4.zip'
Content type 'application/zip' length 1127320 bytes (1.1 MB)
downloaded 1.1 MB
package ‘rJava’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Pragyaditya Das\AppData\Local\Temp\RtmpuEjxI8\downloaded_package
我收到Rtools 未安装的警告。
为了检查 rtools 是否在路径中,我做了 Sys.getenv("PATH")
并且我可以看到 Rtools
在路径中。
除此之外,我还安装了 devtools
并执行了 find_rtools()
。由此我得到 TRUE
。
我不知道该做什么和寻找什么。
请帮忙。
TIA。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)