View source: R/read-report-file.R
read_report_file | R Documentation |
Read in the iscam report (.rep) file
read_report_file(fn)
fn |
Filename |
Read in the iscam report (.rep) file: File structure: It is assumed that each text label will be on its own line, followed by one or more lines of data. If the label is followed by a single value or line of data, a vector will be created to hold the data. If the label is followed by multiple lines of data, a matrix will be created to hold the data. The matrix might be ragged so a check is done ahead of time to ensure correct matrix dimensions.
If a label has another label following it but no data, that label is thrown away and not included in the returned list.
A label must start with an alphabetic character followed by any number of alphanumeric characters (includes underscore and .)
A list representing everything in the report file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.