get.sep {readmoRe}R Documentation

Determine field delimiter in text files

Description

Determine field delimiter in text files

Usage

get.sep(file, n = 1, pattern)

Arguments

file

character. Path name of a text file.

n

integer. Number of lines to be read by readLines. Defaults to 1.

pattern

character. Search pattern to find a specific line for determining the delimiter.

Value

If successful, the filed delimiter. If more than on of the possible delimiters is found, an error is returned.

See Also

readLines


[Package readmoRe version 0.2-12 Index]