Count the header lines in a data file
The path to the data file on disk
One or more expected column names
Header lines are considered to start with # or to be a blank line.
Optionally, providing a
colname argument, a character vector
of one or more colunm names, will consider any rows before
that containing the specified column name(s) to be a header row.
the number of header lines in the file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.