Error: Stopping on error
In addition: Warning messages:
1: In download.file(paste(href, fname, sep = ""), icudtzipfname, mode = "wb") :
URL 'https://raw.githubusercontent.com/gagolews/stringi/master/src/icu69/data/icu4c-69_1-data-bin-l.zip': status was 'Couldn't connect to server'
2: In download.file(paste(href, fname, sep = ""), icudtzipfname, mode = "wb") :
URL 'http://raw.githubusercontent.com/gagolews/stringi/master/src/icu69/data/icu4c-69_1-data-bin-l.zip': status was 'Couldn't connect to server'
Execution halted
我直接wget那个也不行,于是得换一个方式安stringi。其实就是手动安装最新版的stringi,因为它已经内置了ICU data archives,就不要前面还要去下了(前面下载有问题)。
我安的R-4.1.0,于是直接在我的R的目录下:
wget -c https://cloud.r-project.org/src/contrib/stringi_1.7.5.tar.gz然后还有icu69直接下载
wget -c http://raw.githubusercontent.com/gagolews/stringi/master/src/icu69/data/icu4c-69_1-data-bin-l.zip接着手动安装,安装不成功也是因为icu69下载问题, 必须得修改依赖配置
R CMD INSTALL --configure-vars='ICUDT_DIR=/packages/path/' stringi_1.7.5.tar.gz 。##/packages/R/是icu4c-69_1-data-bin-l.zip的存放目录
版权声明:本文为wangyiqi806643897原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。