读取csv文件老是失败,就一直在社区找方法,结合了多篇文章,终于成功,我谢
错误类型:
1、Error in file(file, "rt", encoding = fileEncoding) :
cannot open the connection
In addition: Warning message:
In file(file, "rt", encoding = fileEncoding) :
cannot open file 'D:/fendiq2013.csv': No such file or directory2、Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'D:/fendiq2013.csv': No such file or directory3、Error in make.names(col.names, unique = TRUE) :
invalid multibyte string 14、Error in read.table(file = file, header = header, sep = sep, quote = quote, :
'row.names'里不能有重复的名