sachinthaka.abeywardana wrote: > > > I get the error: > A<-read.table("P:/temp.csv",header=TRUE, sep=","); > Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, > na.strings, : > line 11018 did not have 85 elements > > but when i open it in excel everything is fine. > >
Better open it with NotePad++, show all non-printing characters. Sometimes, a ,"","" instead of ,, creeps in with Excel. Dieter -- View this message in context: http://r.789695.n4.nabble.com/Accessing-table-elements-and-escape-characters-tp3003176p3003445.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.