readcols: Read columns of a whitespace delimited text file

Description Usage Arguments Value Examples

Description

Read columns of a whitespace delimited text file

Usage

1
readcols(fn, colsel, nFirstSkipLines, nSkipUnit)

Arguments

string

input filepath

vector

a vector of target column numbers

integer

skip the first N lines

integer

read one line out of every M

Value

matrix a matrix of strings from selected columns

Examples

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

kindlychung/txtutils documentation built on May 18, 2017, 8:32 p.m.