Skip to content
Prev 84954 / 398500 Next

read.table problem

Andrej Kastrin <andrej.kastrin at siol.net> writes:
Well, the most obvious suspect is the file...

You might try 

table(count.fields('filename.txt',sep='|'))

(There's no point in escaping the vertical bar) 

Also, beware of quote symbols in the file, and possibly consider using
fill=TRUE.