get.sep: Determine field delimiter in text files

View source: R/get.sep.R

get.sepR 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


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

Related to get.sep in readmoRe...