dot-parse.gmt.RdRead a GMT file and return a list
.parse.gmt(fname)
| fname | the file path to be parsed |
|---|
a list of the contents of fname. See details.
parse.gmt returns a nested list object. The top
level contains one list per row in fname. Each of
these is itself a list with the following fields:
- head: the name of the data (row in fname)
- desc: description of the corresponding data
- len: the number of data items
- entry: a vector of the data items
http://clue.io/help for details on the GMT file format
Other CMap parsing functions:
.parse.gmx(),
.parse.grp(),
.write.gmt(),
.write.grp()