Parsing failure with read_csv

I've a ~ a millions rows of csv where all are numeric types. Everytime I load the file by read_csv I get error message saying parsing failures. However, when I used read.csv function, I never get this problem. It seems for me its always this case whenever I have huge files. What can I do to fix this issue?

Below is the snippet of the error message:

number of columns of result is not a multiple of vector length (arg 1)763858 parsing failures.
row # A tibble: 5 x 5 col      row col        expected   actual    file                                                                                         expected    <int> <chr>      <chr>      <chr>     <chr>

Sorry, can't show all since it contains sensitive numbers.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.