[问题] 无法安装 tidytext

楼主: jerkoffme (摩德男孩)   2019-08-13 20:12:26
[问题类型]:无法安装 tidytext
[软件熟悉度]:
使用者(已经有用R 做过不少作品)
[问题叙述]:
因工作需要,要作文本挖掘,但无法安装 tidytext
install.packages("tidytext")
后会喷错如以下
[1] ""
Warning message:
In Sys.setlocale(category = "LC_ALL", locale = "zh_TW.UTF-8") :
作业系统回报无法实现设定语区为 "zh_TW.UTF-8" 的要求
[1] ""
Warning message:
In Sys.setlocale(category = "LC_ALL", locale = "zh_TW.UTF-8") :
作业系统回报无法实现设定语区为 "zh_TW.UTF-8" 的要求
[1] ""
Warning message:
In Sys.setlocale(category = "LC_ALL", locale = "UTF-8") :
作业系统回报无法实现设定语区为 "UTF-8" 的要求
错误: 7:1: 未预期的 ')'
7: )
^
停止执行
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.4/bin/x64/R" CMD INSTALL -l
"C:\Users\Pacific\Documents\R\win-library\3.4"
C:\Users\Pacific\AppData\Local\Temp\RtmpKGoXJY/downloaded_packages/stopwords_1.0.tar.gz'
had status 1
Warning in install.packages :
installation of package ‘stopwords’ had non-zero exit status
[1] ""
Warning message:
In Sys.setlocale(category = "LC_ALL", locale = "zh_TW.UTF-8") :
作业系统回报无法实现设定语区为 "zh_TW.UTF-8" 的要求
[1] ""
Warning message:
In Sys.setlocale(category = "LC_ALL", locale = "zh_TW.UTF-8") :
作业系统回报无法实现设定语区为 "zh_TW.UTF-8" 的要求
[1] ""
Warning message:
In Sys.setlocale(category = "LC_ALL", locale = "UTF-8") :
作业系统回报无法实现设定语区为 "UTF-8" 的要求
错误: 7:1: 未预期的 ')'
7: )
^
停止执行
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.4/bin/x64/R" CMD INSTALL -l
"C:\Users\Pacific\Documents\R\win-library\3.4"
C:\Users\Pacific\AppData\Local\Temp\RtmpKGoXJY/downloaded_packages/tidytext_0.2.2.tar.gz'
had status 1
Warning in install.packages :
installation of package ‘tidytext’ had non-zero exit status
[环境叙述]:
R version 3.4.4 (2018-03-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Traditional)_Taiwan.950 LC_CTYPE=Chinese
(Traditional)_Taiwan.950
[3] LC_MONETARY=Chinese (Traditional)_Taiwan.950 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
作者: andrew43 (讨厌有好心推文后删文者)   2019-08-13 20:30:00
先暂时把r的locale改成别的试试看

Links booklink

Contact Us: admin [ a t ] ucptt.com