read8chain: gets a /chain/ from a text file

Description Usage Arguments Details Value Examples

Description

Produces a /chain/ from a text file. The text file must follow the structure compatible with file2list. The first component of the file must be the description of the chain; the remaining components are supposed to be the nodes (see the the text file examples).
write8chain onto prr.chain1 can be used to get an example of such a text file (see the examples).
See also the "Details" section for further possibility.

Usage

1

Arguments

fi

The file name to be considered.

Details

The tags used to decode the file are given by the prr.tag1 constant. Its values can be modified by the user if necessary.

Value

The generated /chain/ object.

Examples

1
2
3
4
 prr3k("RESET"); # (only for R checking)
 write8chain(prr.chain1, "tutu.txt");
 print(read8chain("tutu.txt"), empha=2);
 unlink("tutu.txt");

prr documentation built on May 2, 2019, 6:35 p.m.

Related to read8chain in prr...