gpt4 book ai didi

r - 无法在 R 3.2 版下安装 Quandl?

转载 作者:行者123 更新时间:2023-12-02 01:30:25 25 4
gpt4 key购买 nike

我正在运行 R 3.2 版,因为它是 ggplots2 的要求。

但是我似乎无法安装包“Quandl”。我收到以下警告:

No package 'libcurl' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lcurl
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libcurl was not found. Try installing:
* deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)

还有一些其他的。结果是:

Warning in install.packages :
installation of package ‘Quandl’ had non-zero exit status

我的假设是所需的依赖项尚不支持较新的 R 版本。

我该怎么办?

最佳答案

您需要安装libcurl4-openssl-dev 操作系统 包。您可以在基于 Debian 的操作系统(包括 Ubuntu 和 Mint)上使用此命令:

sudo apt-get install libcurl4-openssl-dev

关于r - 无法在 R 3.2 版下安装 Quandl?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34579938/

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