Skip to content

[Request] Provide an option to override fread's jumpiness #2157

@franknarf1

Description

@franknarf1

Reading this file with fread, I get ...

Error in fread("bah.csv") :
Internal error: Sampling jump point 10 is before the last jump ended

It would be nice to have an option to tell fread to traverse the file naively (or whatever), so I don't have to write a wrapper to catch this error and take it to read.csv.

Tested with...

data.table 1.10.5 IN DEVELOPMENT built 2017-05-09 05:01:26 UTC; travis

R version 3.3.3 (2017-03-06)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 14393)

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] data.table_1.10.5

loaded via a namespace (and not attached):
[1] tools_3.3.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions