How to install stringi library from archive and install the local icu52l.zip

前端 未结 5 876
我寻月下人不归
我寻月下人不归 2021-01-11 16:18

We\'re bumbling through making some R code work in a production environment and as part of that we\'re installing some R packages as follows:

# Default direc         


        
5条回答
  •  北荒
    北荒 (楼主)
    2021-01-11 16:25

    I had the same problem. What I did is similar to the solution proposed by gagolews. Gagolews' solution didn't exactly work for me because I couldn't find a zip copy of stringi to download. I downloaded icudt from http://static.rexamine.com/packages/icudt52l.zip to a folder, say /home/tmp/ then I installed from the net, but providing the local copy of icudt, by typing the following in R:

    install.packages("stringi", # this will install from online
    configure.vars="ICUDT_DIR=/home/tmp/") #but use the downloaded version of icudt
    

    This worked for me.

提交回复
热议问题