作者maydayya (hiˊ)
看板R_Language
标题[问题] 韩文字显示为方框
时间Wed Mar 8 21:50:13 2017
[问题类型]:
程式谘询(我想用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://webptt.com/cn.aspx?n=bbs/R_Language/M.1488981019.A.A3E.html
※ 编辑: maydayya (123.192.156.149), 03/08/2017 21:51:43