使用R读取数据的时候遇到这种错误:
invalid multibyte string at '<fd>'
解决方法就是:
tbl <- read.delim("dir/file.txt", fileEncoding="UCS-2LE")
Ref
http://stackoverflow.com/questions/4993837/r-invalid-multibyte-string?answertab=active#tab-top
使用R读取数据的时候遇到这种错误:
invalid multibyte string at '<fd>'
解决方法就是:
tbl <- read.delim("dir/file.txt", fileEncoding="UCS-2LE")
Ref
http://stackoverflow.com/questions/4993837/r-invalid-multibyte-string?answertab=active#tab-top
转载于:https://www.cnblogs.com/foreverycc/p/4672299.html