R: 如何在 Debian Linux 9 (stretch) 上安装 RCurl?

R: 如何在 Debian Linux 9 (stretch) 上安装 RCurl?

我尝试过各种 libcurl apt 软件包等等。我需要 Debian Stretch 中 h2o 的 RCurl。如何在 Debian 中安装 RCurl?

** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/home/hhh/R/x86_64-pc-linux-gnu-library/3.3/RCurl/libs/RCurl.so':
  libicui18n.so.58: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/hhh/R/x86_64-pc-linux-gnu-library/3.3/RCurl’

The downloaded source packages are in
    ‘/tmp/RtmpMbiYtD/downloaded_packages’
Warning message:
In install.packages("RCurl") :
  installation of package ‘RCurl’ had non-zero exit status

系统规格

$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

CURL 上的 APT 包

$ apt list --installed|grep curl

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libcurl3/stable,now 7.52.1-5+deb9u4 amd64 [installed,automatic]
libcurl3-gnutls/stable,now 7.52.1-5+deb9u4 amd64 [installed,automatic]
libcurl4-gnutls-dev/stable,now 7.52.1-5+deb9u4 amd64 [installed]
python3-pycurl/stable,now 7.43.0-2 amd64 [installed,automatic]

相关内容