From this SO post
fread("SD1 ST1 SMS1 SD2 ST2 SMS2 SD3 ST3 SMS3 SD4 ST4 SMS4
01-11-2015 00:00:01 323 2015-11-01 00:00:01 551
01-11-2015 00:00:02 289 2015-11-01 00:00:02 618
01-11-2015 01:13:16 253 2015-11-01 01:13:25 511 2015-11-01 01:13:33 489 2015-11-01 01:13:44 870
01-11-2015 00:00:11 986 2015-11-01 00:00:12 602
01-11-2015 00:00:27 48 2015-11-01 00:00:27 391 2015-11-01 00:00:27 429
01-11-2015 00:00:13 750 2015-11-01 00:00:14 255
01-11-2015 00:00:28 773 2015-11-01 00:00:29 114", fill=TRUE)
# Error in fread("~/Downloads/tmp.txt") :
# Expecting 6 cols, but line 4 contains text after processing all cols. It is very likely that fread's logic in
# distinguishing one or more fields having embedded sep=' ' and/or (unescaped) '\n' characters within
# unbalanced unescaped quotes has failed. Please file an issue so that we can figure out if the logic
# could be improved; also let us know if setting quote='' helped. See section on quotes in ?fread.
From this SO post