get.skip: Determine Number of Rows to be Skipped in Text Files

View source: R/get.skip.R

get.skipR Documentation

Determine Number of Rows to be Skipped in Text Files

Description

get.skip attempts to determine the number of rows that could be skipped when reading text files.

Usage

get.skip(file, n = 1, pattern = NULL)

Arguments

file

(character). The file name.

n

(integer). The number of lines to be read by readLines().

pattern

(character). A search pattern like, e.g., a column name that is used to find a particular line in the file to determine the skip value.

Value

The skip value. If no value is determined 0 (zero) is returned.

See Also

readLines


readmoRe documentation built on April 4, 2025, 6:13 a.m.

Related to get.skip in readmoRe...