Learn R Programming

formatters (version 0.5.11)

page_types: Supported named page types

Description

List supported named page types.

Usage

page_types()

page_dim(page_type)

Value

  • page_types returns a character vector of supported page types

  • page_dim returns the dimensions (width, then height) of the selected page type.

Arguments

page_type

(string)
the name of a page size specification. Call page_types() for supported values.

Examples

Run this code
page_types()
page_dim("a4")

Run the code above in your browser using DataLab