Installation of packages ‘stringr’ and ‘stringi’ had non-zero exit status

后端 未结 4 971
清酒与你
清酒与你 2021-02-20 05:18

Please help me to install stringr and stringi packages in R. The result is:

install.packages(\"stringi\")
Installing package into ‘C:/Users/kozlovpy/Documents/R/         


        
相关标签:
4条回答
  • 2021-02-20 05:46

    Installing the newest version of Rtools worked for me.

    https://cran.r-project.org/bin/windows/Rtools/

    0 讨论(0)
  • 2021-02-20 05:48

    Sir, I tried this:

    install.packages("stringi", dependencies=TRUE, INSTALL_opts = c('--no-lock'))
    install.packages("stringr", dependencies=TRUE, INSTALL_opts = c('--no-lock'))
    

    and it worked for me, give it a try!

    0 讨论(0)
  • 2021-02-20 05:55

    In my case only combining of two options worked:

    running as admin and then:

    install.packages("stringi", dependencies=TRUE, INSTALL_opts = c('--no-lock'))

    0 讨论(0)
  • 2021-02-20 06:06

    u/Joyvalley's answer to a similar question worked. Just run R as superuser and install stringi then:

    sudo -i R
    
    0 讨论(0)
提交回复
热议问题