fprint: Print Format(s) from Library

View source: R/utilities.R

fprintR Documentation

Print Format(s) from Library

Description

Displays format information from the global format library. When called without arguments, lists all registered format names. When called with a name, displays the full definition of that format.

Usage

fprint(name = NULL)

Arguments

name

Character. Optional name of a specific format to display. If NULL (default), lists all registered formats.

Value

Invisible NULL. This function is for display only.

See Also

flist for a programmatic alternative that returns a character vector of registered names.

Examples

fnew("M" = "Male", "F" = "Female", name = "sex")
flist()          # character vector of names
fprint()         # list all formats
fprint("sex")    # show specific format
fclear()

ksformat documentation built on May 21, 2026, 9:07 a.m.