我无法安装geomorph软件包

时间:2019-08-27 16:35:26

标签: r

> install.packages("geomorph")
Installing package into ‘C:/Users/user/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)

  There is a binary version available but the source version is later:
         binary source needs_compilation
geomorph  3.0.3  3.1.2             FALSE

installing the source package ‘geomorph’

trying URL 'https://ftp.yzu.edu.tw/CRAN/src/contrib/geomorph_3.1.2.tar.gz'
Content type 'application/octet-stream' length 2868189 bytes (2.7 MB)
downloaded 2.7 MB

* installing *source* package 'geomorph' ...
** package 'geomorph' successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'knitr'
Error : package 'rgl' could not be loaded
ERROR: lazy loading failed for package 'geomorph'
* removing 'C:/Users/user/Documents/R/win-library/3.2/geomorph'

The downloaded source packages are in
        ‘C:\Users\user\AppData\Local\Temp\RtmpIHqGsn\downloaded_packages’
Warning messages:
1: running command '"C:/PROGRA~1/R/R-32~1.5/bin/i386/R" CMD INSTALL -l "C:\Users\user\Documents\R\win-library\3.2" C:\Users\user\AppData\Local\Temp\RtmpIHqGsn/downloaded_packages/geomorph_3.1.2.tar.gz' had status 1 
2: In install.packages("geomorph") :
  installation of package ‘geomorph’ had non-zero exit status

我想对形态计量学数据进行一些PC分析。我尝试安装geomorh。但是每次它都显示出一些错误,并且缺少其他软件包的警告消息。我也尝试安装那些软件包,但是没有运气。

这是我正在获取的错误消息,

请帮助我。

预先感谢

0 个答案:

没有答案