I am trying to read a text file which has columns separated by space, in R. I tried using data.table since read.csv is taking long to read. However, the first column has leading whitespace and I am getting the following error in fread().
"Not positioned correctly after testing format of header row. ch=' '"
The data format is similar to,
45 36 46
45 67 35
Is there any way this can be read using fread() without reformatting the textile?