The R Project SVN R

Rev

Rev 27470 | Rev 35369 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27470 Rev 27625
Line 36... Line 36...
36
    \item A database consists of one or more records, each with one or
36
    \item A database consists of one or more records, each with one or
37
    more named fields. Not every record must contain each field, a
37
    more named fields. Not every record must contain each field, a
38
    field may appear only once in a record.
38
    field may appear only once in a record.
39
    \item Regular lines start with a non-whitespace character.
39
    \item Regular lines start with a non-whitespace character.
40
    \item Regular lines are of form \code{tag:value}, i.e.,
40
    \item Regular lines are of form \code{tag:value}, i.e.,
41
    have a name tag and a value for the field, seperated
41
    have a name tag and a value for the field, separated
42
    by \code{:} (only the first \code{:} counts). The value can be
42
    by \code{:} (only the first \code{:} counts). The value can be
43
    empty (=whitespace only).
43
    empty (=whitespace only).
44
    \item Lines starting with whitespace are continuation lines (to the
44
    \item Lines starting with whitespace are continuation lines (to the
45
    preceding field) if at least one character
45
    preceding field) if at least one character
46
    in the line is non-whitespace.
46
    in the line is non-whitespace.
47
    \item Records are seperated by one or more empty (=whitespace only)
47
    \item Records are separated by one or more empty (=whitespace only)
48
    lines.
48
    lines.
49
  }
49
  }
50
 
50
 
51
  \code{read.dcf} returns a character matrix with one line per record
51
  \code{read.dcf} returns a character matrix with one line per record
52
  and one column per field. Leading and trailing whitespace of field
52
  and one column per field. Leading and trailing whitespace of field