I have a one-column dataset with blank lines. Each blank line defines a new data block, i.e. what I would plot with gnuplot (if blank line were doubled) like this:
plot "datafile" i n
where n is the n-th block.
How could I implement a data import in R so that I could create e.g. a two-index matrix, where the first index is the row index, and the second the block index? (plus, number of rows is always the same)