get.skip {readmoRe}R 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 codeskip value.

Value

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

See Also

readLines


[Package readmoRe version 0.2-12 Index]