gpt4 book ai didi

r - R中的"installation of package ' FILE_PATH ' had non-zero exit status"

转载 作者:行者123 更新时间:2023-12-03 12:42:15 25 4
gpt4 key购买 nike

通过使用以下命令在 R 中安装包:

install.packages('FILE_PATH', repos=NULL, type = "source")

我收到以下错误:

Installing package into ‘/home/p/R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) Errore in rawToChar(block[seq_len(ns)]) : embedded nul in string: 'PK\003\004\024\0\002\0\b\0]\xadVCr\xcb\xea\xfcR\0\0\0\xa7\0\0\0\027\0\0\0bivpois-Rcode/.Rhistory+\xce/-JN\xd5PO\xca,+\xc8\xcf,\xd6+IL\xcaI\xd5\vR\xd7\xe4\xe5*\x86J\xe5\xe4\xea%\025`\b\xa5d\xa2\v楖\xe7%\xe6' Warning message: In install.packages("/home/p/Research/14_bivpois-Rcode.zip", repos = NULL, : installation of package ‘/home/p/Research/14_bivpois-Rcode.zip’ had non-zero exit status



R 版本是 3.0.2 (2013-09-25) -- "Frisbee Sailing"操作系统是 Linux Mint (UNIX)。

为什么我会收到该错误,这是什么意思:

installation of package ‘/home/p/Research/14_bivpois-Rcode.zip’ had non-zero exit status



在 R?

你可以找到包 here和文件 14_bivpois-Rcode.zip是源。

我试图在本地安装它,路径是正确的。

在 UNIX 中安装该软件包有什么建议吗?

最佳答案

在您的 linux 上简单安装以下库。
curl:sudo apt-get install curl
libssl-dev:sudo apt-get install libssl-dev
libcurl: sudo apt-get install libcurl4-openssl-dev
xml2: sudo apt-get install libxml2-dev

关于r - R中的"installation of package ' FILE_PATH ' had non-zero exit status",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27893230/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com