data:read-inline d text args
| d | data object |
| text | in-line data text |
| args | OPTIONS |
| -columns | Specify the inline format as columns (default is lists). |
| -lists | Specify the inline format as lists (default is lists). |
| -points | Specify the inline format as points (default is lists). |
| -append | Append to existing data. Default is to over-write existing the data. |
| Read in-line data into columns of data object. If there are no data columns with labels present, create new ones, otherwise append to rows of the data. |
| in column format, "comments" are removed (comments begin with a #). Lines with fewer fields than the header, are ignored. |
data d
d read-inline {{COL1 1 2 3 4 5} {COL2 2 3 3 4 5}}
d read-inline {
x y
1 2
3 3
} -columns -append
d read-inline {{COL1 COL2} {1 2} {2 3} {3 3} {4 4} {5 5}}