Hi,
I try to use read_csv to read my csv file and the source code as follow:
ch4sample.exp1_path<-"D:/Rcode/presentation_sample_ppt/sample_data/family/最近一年內曾因家庭緣故影響工作之情形-按無法加班或無法延長工時分(年齡).csv"
ch4sample.exp1<-read_csv(ch4sample.exp1_path,col_names = TRUE)
There is some reason that I need to use the traditional Chinese characters to name my filename.
Unfortunately, the R console was showing the error message as follow:
Error in guess_header_(datasource, tokenizer, locale) : Cannot read file D:/Rcode/presentation_sample_ppt/sample_data/family/?餈?撟游??曉?摰嗅滬蝻?敶勗?撌乩?銋?敶g???瘜??剜???撱園撌交??撟湧?).csv
There is no problem in RStudio 1.1.447, so I don't think it's caused by the readr.
Could anyone help me with this problem?
Thanks!
BTW:
covert the filename to the Unicode is:
\u6700\u8fd1\u4e00\u5e74\u5167\u66fe\u56e0\u5bb6\u5ead\u7de3\u6545\u5f71\u97ff\u5de5\u4f5c\u4e4b\u60c5\u5f62\uff0d\u6309\u7121\u6cd5\u52a0\u73ed\u6216\u7121\u6cd5\u5ef6\u9577\u5de5\u6642\u5206(\u5e74\u9f61)
Roddy_Hung