无法安装R 3.6.0的归档软件包

时间:2019-06-18 12:34:38

标签: r

我似乎找不到解决办法来安装已归档的旧软件包。 我目前正在使用

install.packages("https://cran.r- 
project.org/src/contrib/Archive/RGtk2Extras/RGtk2Extras_0.6.1.tar.gz",
                 repos=NULL, method="libcurl")

但是得到一个

Installing package into ‘C:/Users/Daimen/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.r- 
project.org/src/contrib/Archive/RGtk2Extras/RGtk2Extras_0.6.1.tar.gz'
Content length 88734 bytes (86 KB)
downloaded 86 KB

* installing *source* package 'RGtk2Extras' ...
** package 'RGtk2Extras' successfully unpacked and MD5 sums checked
** using staged installation
** libs
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'RGtk2Extras'
* removing 'C:/Users/Daimen/Documents/R/win-library/3.6/RGtk2Extras'
Warning message:
In install.packages("https://cran.r- 
project.org/src/contrib/Archive/RGtk2Extras/RGtk2Extras_0.6.1.tar.gz",  :
installation of package 
In install.packages("https://cran.r- 
project.org/src/contrib/Archive/RGtk2Extras/RGtk2Extras_0.6.1.tar.gz",  :
installation of package 
‘C:/Users/Daimen/AppData/Local/Temp/RtmpMXJ3Pi/downloaded_packages
/RGtk2Extras_0.6.1.tar.gz’ had non-zero exit status

我尝试通过本地下载和导入来安装它。仍然是相同的错误。我知道该软件包不适用于该特定版本的R;有没有解决的办法?

0 个答案:

没有答案