Prof Brian Ripley writes: > I realize I didn't give a solution: > > scan(con, "", sep="\n") > Thanks for this (and for correcting the help page); this works. I also found a workaround using read.table which also allows gzfile connections with an incomplete last line. Stephen