在不带Internet的centos 7上安装stringi

在不带Internet的centos 7上安装stringi,r,gcc,centos7,stringi,R,Gcc,Centos7,Stringi,显然,在没有互联网的Centos Centos 7.9上安装stringe是一个常见的问题,我只有一个遥控器。这意味着我有“stringi_1.5.3.tar.gz” 解压后,我得到: 我得到以下错误 checking for pkg-config... /usr/bin/pkg-config checking with pkg-config for the system ICU4C... 50.2 checking for ICU4C >= 55... no *** ICU4C 50.

显然,在没有互联网的Centos Centos 7.9上安装
stringe
是一个常见的问题,我只有一个遥控器。这意味着我有“stringi_1.5.3.tar.gz” 解压后,我得到:

我得到以下错误

checking for pkg-config... /usr/bin/pkg-config
checking with pkg-config for the system ICU4C... 50.2
checking for ICU4C >= 55... no
*** ICU4C 50.2 has been detected
*** Minimal requirements, i.e., ICU4C >= 55, are not met
*** Trying with "standard" fallback flags
checking whether we may build an ICU4C-based project... yes
checking programmatically for sufficient U_ICU_VERSION_MAJOR_NUM... no
*** The available ICU4C cannot be used
checking whether we may compile src/icu61/common/putil.cpp... yes
checking whether we may compile src/icu61/i18n/number_affixutils.cpp... yes
checking whether we can fetch icudt... downloading the ICU data library (icudt)
output path: icu61/data/icudt61l.zip
trying URL 'https://raw.githubusercontent.com/gagolews/stringi/master/src/icu61/data/icudt61l.zip'
Error in download.file(paste(href, fname, sep = ""), icudtzipfname, mode = "wb"): cannot open URL 'https://raw.githubusercontent.com/gagolews/stringi/master/src/icu61/data/icudt61l.zip'
问题是众所周知的:

我尽了最大的努力

sed -i '/\/icu..\/data/d' stringi-master/.Rbuildignore
没有
.Rbuildignore
请参见目录图片

你知道我该怎么解决这个问题吗

更确切的问题是: 如何更改设置
mode=“wb”


您是否尝试过
tar-zxf stringi_1.5.3.tar.gz
,然后您必须将CD刻录到解压缩文件中并执行以下操作 /配置 制作
sudo make安装

相同错误:'***icudt下载失败。停下来。”
Error in download.file(paste(href, fname, sep = ""), icudtzipfname, mode = "wb")