readcols {collUtils}R Documentation

Read columns of a whitespace delimited text file

Description

Read columns of a whitespace delimited text file

Usage

readcols(fn, colsel, nFirstSkipLines, nSkipUnit)

Arguments

fn

input filepath

colsel

a vector of target column numbers

nFirstSkipLines

Integer. Number of lines to skip in the beginning

nSkipUnit

Integer M. Let the function read one line out of every M

Value

A matrix of strings from selected columns


[Package collUtils version 1.0.5 Index]