r - 为什么我不能从 github 安装包?
问题描述
我是 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
最好的问候, 阿斯加尔
解决方案
推荐阅读
- flutter - 列内的可滚动容器
- python - Python登录、注册、更新、删除脚本
- maven - 将多个工件上传或发布到 Azure DevOps 包管理器
- tensorflow - TensorFlow 中预制估算器的停止标准
- sql - SQL:按时间分组,按时间排序并以正确格式显示时间
- oracle - 在 Where 子句中使用动态参数的 Oracle PL/SQL 查询
- java - Class.forName(String) 与动态字符串不起作用
- xamarin.forms - 用于接收 SMS 的广播接收器不起作用
- python - Python 自动输入凭据
- javascript - Angularjs多个应用程序无法路由子应用程序