formatDL(x, y, style = c("table", "list"), width = 0.9 * getOption("width"), indent = NULL)
x
with the
corresponding descriptions. Only used if x
does not already
give the descriptions."table"
, a two-column table with
items and descriptions as columns is produced (similar to Texinfo's
@table
environment). If "list"
, a LaTeX-style tagged
description list is obtained.width/2
, and
defaults to width/3
for table style and width/9
for
list style. In table style, items with more than indent - 3
characters are
displayed on a line of their own.
## Provide a nice summary of the numerical characteristics of the
## machine R is running on:
writeLines(formatDL(unlist(.Machine)))
## Inspect Sys.getenv() results in "list" style (by default, these are
## printed in "table" style):
writeLines(formatDL(Sys.getenv(), style = "list"))
Run the code above in your browser using DataLab