问题描述
我正在尝试将gplots
软件包安装到R 3.3.0。我可以早些安装它,但是之后我将计算机格式化。我可以将软件包安装到R(3.5.0或更高版本)。我需要将该软件包安装到3.5.0或更早版本,因为我只能在这些版本的R上运行我的模型。当我尝试通过两种方式(从本地文件和CRAN)安装gplots
软件包时,这个错误;
> 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/Lenovo/Documents/R/win-library/3.3’ (as ‘lib’ is
> unspecified) Warning in install.packages : dependency ‘caTools’ is
> not available
>
> There is a binary version available but the source version is later:
> binary source needs_compilation gplots 3.0.1 3.0.4 FALSE
>
> installing the source package ‘gplots’
>
> URL 'https://cran.rstudio.com/src/contrib/gplots_3.0.4.tar.gz'
> deneniyor Content type 'application/x-gzip' length 516380 bytes (504
> KB) downloaded 504 KB
>
> ERROR: dependency 'caTools' is not available for package 'gplots'
> * removing 'C:/Users/Lenovo/Documents/R/win-library/3.3/gplots' Warning in install.packages : '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R"
> CMD INSTALL -l "C:\Users\Lenovo\Documents\R\win-library\3.3"
> C:\Users\Lenovo\AppData\Local\Temp\Rtmpm62Ht3/downloaded_packages/gplots_3.0.4.tar.gz'
> komutunu çalıştırırken 1 durumu oluştu Warning in install.packages :
> installation of package ‘gplots’ had non-zero exit status
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)