R语言read.csv()读入行不规则数据出错
> csv4=read.csv("CondenOriginal.csv") Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'CondenOriginal.csv': No such file or directory
> csv2=read.csv("ConO.csv")
csv2=read.csv(“ConO.csv”)
cod1=t(csv2)
colLineNum=nrow(cod1)
for(j in 1:colLineNum)
{
write.table(sum(cod1[,j]),“result1.csv”,append=TRUE,
sep=",",col.names = FALSE,row.names = FALSE)cop=read.csv(“result1.csv”)
x1=c(1:57)
plot(x1,cop[,1],type =“l”,col=“red”,main = “haha”)`