Skip to content

Commit 748631b

Browse files
committed
delete skip heading
1 parent 69679e5 commit 748631b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

vignettes/datatable-fread-and-fwrite.Rmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,11 @@ You can explicitly tell fread whether a header exists using `header = TRUE` or `
109109

110110
**Skip Detection**
111111

112-
By default (`skip="auto"`), `fread` will automatically skip blank lines and comment lines (e.g., starting with `#`) before the data header. To manually skip a specific number of lines, use `skip=n`.
112+
By default (`skip="auto"`), `fread` will automatically skip blank lines and comment lines (e.g., starting with `#`) before the data header.
113+
To manually specify a different number of lines to skip, use
114+
115+
* `skip=n` to skip the first `n` lines.
116+
* `skip="string"` to search for a line containing a substring (typically from the column names, like `skip="Date"`). Reading begins at the first matching line. This is useful for skipping metadata, or selecting sub-tables in multi-table files. This feature is inspired by the `read.xls` function in the `gdata` package.
113117

114118
### 1.3 High-Quality Automatic Column Type Detection
115119

@@ -188,11 +192,7 @@ Key points:
188192

189193
For details, see the manual page by running `?fread` in R.
190194

191-
### 1.7 Skip to a Sub-Table’s Header Row Using a Column Name Substring
192-
193-
Use `skip="string"` in `fread` to search for a line containing a substring (typically from the column names, e.g., `skip="Date"`). Reading begins at the first matching line. This is useful for skipping metadata or selecting sub-tables in multi-table files. This feature is inspired by the `read.xls` function in the gdata package.
194-
195-
### 1.8 Automatic Quote Escape Detection (Including No-Escape)
195+
### 1.7 Automatic Quote Escape Detection (Including No-Escape)
196196

197197
`fread` automatically detects how quotes are escaped—including doubled ("") or backslash-escaped (\") quotes—without requiring user input. This is determined using a large sample of the data (see point 3), and validated against the entire file.
198198

0 commit comments

Comments
 (0)