看板 R_Language 關於我們 聯絡資訊
[問題類型]: 程式諮詢(我想用R 做某件事情,但是我不知道要怎麼用R 寫出來) [軟體熟悉度]: 新手(沒寫過程式,R 是我的第一次) [問題敘述]: 我需要使用R去分析韓文字,但是當在R上輸入韓文時,每個字都會變成方框 http://imgur.com/a/2k2n5 [程式範例]: library(KoNLP) Checking user defined dictionary! This R shell doesn't contain any Hangul encoding. For fully use, any of 'UTF-8', 'CP949', 'EUC-KR' needs to be used for R shell encoding. [環境敘述]: sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 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=Chinese (Traditional)_Taiwan.950 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] plyr_1.8.4 wordcloud_2.5 RColorBrewer_1.1-2 KoNLP_0.80.1 loaded via a namespace (and not attached): [1] Rcpp_0.12.9 digest_0.6.12 withr_1.0.2 slam_0.1-40 DBI_0.5-1 magrittr_1.5 RSQLite_1.1-2 [8] stringi_1.1.2 hash_2.2.6 tau_0.0-19 devtools_1.12.0 tools_3.3.2 stringr_1.2.0 rJava_0.9-8 [15] memoise_1.0.0 Sejong_0.01 [關鍵字]: 韓文 hangul encoding -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.192.156.149 ※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1488981019.A.A3E.html ※ 編輯: maydayya (123.192.156.149), 03/08/2017 21:51:43