thx for your suggestions , i have made it csv file,and it looks:
> data<‐read.table('E:/my documents/r/1.csv',header=TRUE) Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 2 elements is there wrong with the data? -- View this message in context: http://r.789695.n4.nabble.com/incomplete-final-line-tp3309405p3310357.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.