read.oscheader: Reads and returns an OSC header without reading the whole...

Description Usage Arguments Value Author(s) See Also


Opens the file and reads the first line. If it started with #, read the two first lines. If they both start with #, read the three first lines, and so on until a line that does not start with # is found.





Path to the OSCTable to read.


Returns the header of the OSCTable, including the line indicating the column names, which is the first one to not start with #.


Charles Plessy

The head of the file is read again and again, with one more line each time, until the first character of the last line is not a comment character # anymore. There must be a more efficient way.

See Also

read.osc, fread.osc

charles-plessy/oscR documentation built on May 13, 2019, 3:31 p.m.