Error in read.table(file = file, header = header, sep = sep, quote = quote, : 列的数目比列的名字要多
Code:
user1rotation2 <- read.csv(“G:\LabRealated\PublicDataset\CPS\data\user1\2\rotationvector.csv”)
View(user1rotation2)
Error:
分析原因:表头列数小于实际列数。
表格打开
修改方法:读取的时候去掉表头
user1rotation2 <- read.csv(“G:\LabRealated\PublicDataset\CPS\data\user1\2\rotationvector.csv”,header = F)
**读取结果:**正常读取