Skip to content
Prev 21313 / 63424 Next

read.table() errors with tab as separator (PR#9061)

Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
Sorry, unclear. We already change quote= for read.delim and read.csv,
and I was suggesting also to modify the default for comment.char for
those functions, but definitely not for read.table. 

Arguably, those functions are there to handle file formats generated
by other programs, and it is unlikely that such programs will generate
comment lines starting with #, whereas we have learned that Excel will
occasionally generate fields like #NULL#, which mess up the parsing.