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

感情迁移 提交于 2019-12-04 02:07:27
Fábio

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!

In my case only combining of two options worked:

running as admin and then:

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

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

sudo -i R

Installing the newest version of Rtools worked for me.

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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!