Description Usage Arguments Value Examples
Read columns of a whitespace delimited text file
1 | readcols(fn, colsel, nFirstSkipLines, nSkipUnit)
|
string |
input filepath |
vector |
a vector of target column numbers |
integer |
skip the first N lines |
integer |
read one line out of every M |
matrix a matrix of strings from selected columns
1 | readcol(system.file("example/test.assoc.linear", package="txtutils"), 2, 1, 15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.