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)
Arguments
fname: file name of the text file containing the list.
Returns
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);