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.
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
#> [1] "sex"
fprint() # list all formats
#> Registered formats:
#> sex - VALUE (character), 2 mapping(s)
fprint("sex") # show specific format
#> KS Format:sex
#> Type: character
#> Mappings:
#> M => Male
#> F => Female
fclear()
#> All formats cleared from library.