为什么我不能从github安装软件包?

时间:2018-12-02 12:54:17

标签: r

我是R的初学者。我在R中遇到问题,希望您能帮助我解决它。我想从GITHUB安装EGA和epmr软件包。因此,我在R命令下面使用了它,但显示错误。我需要这些软件包进行分析。请帮助我解决这个问题。

devtools::install_github("hfgolino/EGA", dep = FALSE)

devtools::install_github("talbano/epmr", dep=FALSE)

R的错误:

devtools::install_github("hfgolino/EGA", dep = FALSE)
Downloading GitHub repo hfgolino/EGA@master
√  checking for file 'C:\Users\ramsa\AppData\Local\Temp\RtmpGotfZq\remotes189861a473d\hfgolino-EGA-1a50a8e/DESCRIPTION' ... 
-  preparing 'EGA':
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  looking to see if a 'data/datalist' file should be added
-  building 'EGA_0.4.tar.gz'

Error in .External2(C_loadhistory, file) : 
  'loadhistory' can only be used in Rgui and Rterm
Calls: <Anonymous>
Execution halted
In R CMD INSTALL
Error in i.p(...) : 
  (converted from warning) installation of package ‘C:/Users/ramsa/AppData/Local/Temp/RtmpGotfZq/file189829151eca/EGA_0.4.tar.gz’ had non-zero exit status
In addition: Warning messages:
1: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers
2: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers

最诚挚的问候, 阿斯哈尔

0 个答案:

没有答案