[英]Failed to install a package. Error: System command error, exit status: -1, stdout + stderr empty,
I've tried to install a package for almost 2 days but installation has not been working by now.我已经尝试安装 package 将近 2 天,但安装到现在还没有工作。 I tried a lot of different ways like
我尝试了很多不同的方法,比如
install.packages("NIADic_0.0.1.tar.gz", repos = NULL, type = "source")
then Warning in install.packages: installation of package 'NIADic_0.0.1.tar.gz' had non-zero exit status然后 install.packages 中的警告:package 'NIADic_0.0.1.tar.gz' 的安装具有非零退出状态
and和
devtools::install_local('C://Users/pogr1/Desktop/NIADic_0.0.1.tar.gz', force = TRUE)
then Error: Failed to install 'NIADic' from local: System command error, exit status: -1, stdout + stderr empty然后错误:无法从本地安装“NIADic”:系统命令错误,退出状态:-1,stdout + stderr 为空
install.packages("https://github.com/haven-jeon/NIADic/releases/download/0.0.1/NIADic_0.0.1.tar.gz",
lib = .libPaths()[1], repos = NULL, type = "win.binary")
then cannot open compressed file 'NIADic_0.0.1.tar.gz/DESCRIPTION', probable reason 'No such file or directory' Error in install.packages: cannot open the connection然后无法打开压缩文件“NIADic_0.0.1.tar.gz/DESCRIPTION”,可能的原因“没有这样的文件或目录” install.packages 中的错误:无法打开连接
and even I reinstalled R, rstudio, and Rtools but still not working甚至我重新安装了 R、rstudio 和 Rtools 但仍然无法正常工作
- Session info
------------------------------------------------------------------------
setting value
version R version 3.6.1 (2019-07-05)
os Windows 10 x64
system x86_64, mingw32
ui RStudio
language (EN)
collate Korean_Korea.949
ctype Korean_Korea.949
tz Asia/Seoul
date 2019-10-31
plz help:(请帮助:(
Although this is a bit old... The package needs RTools
for compilation, but then it needs pandoc
, package data.table
etc. to build vignettes.虽然这有点旧...... package 需要
RTools
进行编译,但它需要pandoc
, package data.table
等来构建vignettes。 If you want to proceed easily only with package itself without docs, it should work to have RTools installed and then run:如果您只想在没有文档的情况下仅使用 package 本身轻松进行操作,则应该安装 RTools 然后运行:
devtools::install_github('haven-jeon/NIADic/NIADic', build_vignettes = FALSE)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.