I have an issue to Read a big file (close to 2000000 rows) using the readr package.
Why do I want to use the readr package. My data file can containing ASCII control characters (0x01 equal to ascii 26 equal to CTRL+Z) that stops the execution of read.table()
and I note that the readr
package is not sensitive to that problem.
My file has different row lenghts thus I would used the fill=TRUE
if I could use the read.table()
.
I tried to use read_table
of the readr package but without success because it seems to not find whitespaces as columns separator.
I tried to use read_delim
. with the code read_delim(file,delim=" ")
. The separator were found but the first row is considered as the main length of my data frame and thus lengther rows were truncated.
Does anyone got an advice ?