| readList | R Documentation |
Read in a list previously saved to an ASCII file by various R functions such
as dput, dump, and writeList. The latter can render
lists in a convenient PBSmodelling format. The function readList
detects the format automatically.
For information about the PBSmodelling format, see writeList.
readList(fname)
fname |
file name of the text file containing the list. |
Returns a list object from ASCII files originally formatted in one of the
following ways:
"D" = created by the R functions dput or dump;
"R" = R list object that uses ‘structure’ (e.g., Windows History file);
"P" = PBS-formatted file (see writeList);
"C" = comment-delimited file (e.g., Awatea/Coleraine input files).
When importing a list in the PBSmodelling ("P") format,
if two list elements share the same name, the list will import
incorrectly.
Alex Couture-Beil, Vancouver Island University, Nanaimo BC
packList, unpackList, writeList
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.