Print a List

DESCRIPTION:
Prints each component of a list after its name or order in the list.

USAGE:
print.list(x, quote=T, prefix="")

REQUIRED ARGUMENTS:
x:
any S-PLUS object; typically recursive.

OPTIONAL ARGUMENTS:
quote:
logical flag: if TRUE, then quotes surround character strings.
prefix:
character string to print before the list.

VALUE:
x, with the invisible flag set to prevent reprinting.

SIDE EFFECTS:
print.list treats x as an object of mode "list" and prints each of its components, preceded by prefix and its name or component number.

DETAILS:
print.list is called by print.default.

The prefix argument is used to identify components of the list that are lists.


SEE ALSO:
print , list .

EXAMPLES:
print.list(wafer) # print a data frame as a list
print(unclass(wafer)) # the same thing