nseval (version 0.4)

format.dots: Formatting methods for dots and quotations.

Description

format.dots constructs a string representation of a dots object. An unforced quotation is shown as envir ? expr and a forced quotation is shown as expr := value.

format.quotation constructs a string representation of a quotation object.

format.oneline formats a vector or list so that each item is displayed on one line. It is similar to format.AsIs but tries harder with language objects. The "oneline" class is used by as.data.frame.dots.

Usage

# S3 method for dots
format(x, compact = FALSE, show.environments = !compact,
  show.expressions = !compact, width = 36, ...)

# S3 method for quotation format(x, compact = FALSE, show.environments = !compact, show.expressions = !compact, width = 36, ...)

# S3 method for oneline format(x, max.width = 50, width = max.width, ...)

# S3 method for dots print(x, ...)

# S3 method for quotation print(x, ...)

Arguments

x

An object.

compact

Implies show.environments=FALSE and show.expressions=FALSE.

show.environments

Whether to show environments for unforced quotations.

show.expressions

Whether to show expressions for forced quotations.

width
...

Further parameters passed along to base::format.

max.width