Skip to content

[R-Forge #5422] fread: Support for files where header rows are separated from data #530

@arunsrinivasan

Description

@arunsrinivasan

Submitted by: Dirk Jonker; Assigned to: Nobody; R-Forge link

Example file:
http://www.knmi.nl/klimatologie/daggegevens/datafiles3/vorigemaand.txt

Column names are on row 48, data starts at row 50. Row 49 is empty. It is not possible to use fread to read only row 48.

Two possible solutions I could think of:

  • Add a parameter, e.g. headerrow=48
  • Skip empty row(s) between header and data, if header contains the same number of fields (more dangerous, but possibly more user friendly)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions