Description Usage Arguments Value Examples
Read one column of a whitespace delimited text file
1 | readcol(fileName, colNum, nSkip, maxRowNum)
|
string |
input filepath |
integer |
the target column number |
integer |
skip the first N lines |
integer |
maximum number of lines to read |
vector a vector of strings containing the target column
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.