gpt4 book ai didi

r - 我正在尝试使用 Ubuntu 18.04 在 R 中安装 openssl 包但没有成功

转载 作者:行者123 更新时间:2023-12-04 11:18:40 25 4
gpt4 key购买 nike

我尝试在 R 中安装 Openssl 包(在 Ubuntu 18.04 中使用 RStudio),但出现错误“ undefined symbol :RSA_pkey_ctx_ctrl”:

Error: package or namespace load failed for ‘openssl’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/danilo/R/x86_64-pc-linux-gnu-library/3.4/openssl/libs/openssl.so':
/home/danilo/R/x86_64-pc-linux-gnu-library/3.4/openssl/libs/openssl.so: undefined symbol: RSA_pkey_ctx_ctrl
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/danilo/R/x86_64-pc-linux-gnu-library/3.4/openssl’
Warning in install.packages :
installation of package ‘openssl’ had non-zero exit status.

我已经尝试通过 RStudio 和终端进行安装,但是由于我对 Ubuntu 比较陌生,所以我没有任何成功。我下载了 tar.gz 文件,但我不知道该怎么处理它。

我实际上想使用包 httrggmap ,但它们都需要 openssl .

最佳答案

在终端中尝试:

sudo apt-get install libssl-dev
然后尝试再次在 R 中安装包 openssl。

关于r - 我正在尝试使用 Ubuntu 18.04 在 R 中安装 openssl 包但没有成功,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55893214/

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