猜测跟CSV内的格式有关。
有的国家CSV用;作为分隔符,所以可能被当成文本只有1列。
所以读取CSV时候,R软件给出两个拓展:
read.csv(file, header = TRUE, sep = ",", quote = "\"", dec = ".",fill = TRUE, comment.char = "", ...)
read.csv2(file, header = TRUE, sep = ";", quote = "\"", dec = ",",fill = TRUE, comment.char = "", ...)
你可以试试分割用";"试试。