Unknown error in large file

I downloaded freadas follows:

install.packages('data.table')
require(data.table)

It loads the first half of my 3GB TSV file very quickly with the following code:

> train <- fread("avito_train.tsv")
Read 55.6% of 3995803 rows
Error in fread("avito_train.tsv") :

However, when he reaches 55.6%, he says that there is a mistake, but she does not say that. How can I get an error message? Is it possible to simply skip the lines to which it points to errors?

Note: Data is available on Kaggle.com if you want to try it yourself http://www.kaggle.com/c/avito-prohibited-content/data

+3
source share

Source: https://habr.com/ru/post/1546117/


All Articles