Print a List

DESCRIPTION:

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

USAGE:

print.list(x, prefix="", ...) 

REQUIRED ARGUMENTS:

x
any S-PLUS object; typically recursive.

OPTIONAL ARGUMENTS:

prefix
character string to print before the list.
...
arguments passed to print methods for components of the list; most methods have additional arguments like digits to control how many digits of a number should be printed and quote to control whether or not quotes are put around character strings.

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:

, .

EXAMPLES:

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