I have a large dataset (1.1GB) in tab seperated format. When I read this dataset into the program R using the normal read.table function:
data <- read.table(file="C:/Localdata/Postcode model/Data/FinalDataset.txt",
header=TRUE, sep="\t")
it works fine. However, I wish to read it in using the ff function from the ff library so I use the code:
library(ff)
data <- read.table.ffdf(file="C:/Localdata/Postcode model/Data/FinalDataset.txt",
header=TRUE, sep="\t")
There is no issue with loading the ff package and the function works fine. The error that is thrown up is:
Error in read.table(header = FALSE, sep = "\t", file = 3L, fileEncoding = "", : more columns than column names
Why is this?