1

我最近更新到 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。

4

0 回答 0