R read.csv “More columns than column names” error

后端 未结 5 574
半阙折子戏
半阙折子戏 2020-12-29 17:40

I have a problem when importing .csv file into R. With my code:

t <- read.csv(\"C:\\\\N0_07312014.CSV\", na.string=c(\"\",\"null\",\"NaN\",\"         


        
5条回答
  •  时光取名叫无心
    2020-12-29 18:02

    I was also facing the same issue. Now solved.

    Just use header = FALSE

    read.csv("data.csv", header = FALSE) -> mydata
    

提交回复
热议问题