freegroup (version 1.1-0)

print: Print free objects

Description

Print methods for free objects

Usage

# S3 method for free
print(x,...)
as.character_free(m,latex=getOption("latex"))

Arguments

x

Object of class free in the print method

m

A two-row matrix in function as.character_free()

latex

Boolean, with codeTRUE meaning to print latex-friendly output including curly braces, and default NULL option meaning to give a nicer-looking output that latex would typeset incorrectly

...

Further arguments, currently ignored

See Also

char_to_free

Examples

Run this code
# NOT RUN {
## default symbols:

abc(26)
rfree(1,10)


# if we need more than 26:
options(symbols=state.name)
rfree(10,4)

# or even:
jj <- letters[1:10]
options(symbols=apply(expand.grid(jj,jj),1,paste,collapse=""))
rfree(10,10,100,4)

options(symbols=NULL)  #  NULL is interpreted as letters a-z
rfree(10,4)            #  back to normal
# }

Run the code above in your browser using DataCamp Workspace