readcol: Read one column of a whitespace delimited text file

Description Usage Arguments Value Examples

Description

Read one column of a whitespace delimited text file

Usage

1
readcol(fileName, colNum, nSkip, maxRowNum)

Arguments

string

input filepath

integer

the target column number

integer

skip the first N lines

integer

maximum number of lines to read

Value

vector a vector of strings containing the target column

Examples

1
readcol(system.file("example/test.assoc.linear", package="txtutils"), 2, 1, 15)

kindlychung/txtutils documentation built on May 20, 2019, 10:01 a.m.