Change whether unicode symbols should be used when printing sets.

useUnicode(use)

Arguments

use

logical, if TRUE unicode will be used in printing, otherwise simpler character strings. If missing the current setting is returned.

Details

Using unicode symbols makes the printing of sets and properties 'prettier', however may not work on all machines or versions of R. Therefore this function is used to decide whether unicode representations should be used, or standard alpha-numeric and special characters.

By default set6 starts with unicode printing turned on.

Examples

current <- useUnicode()
useUnicode(TRUE)
useUnicode()
#> [1] TRUE
useUnicode(current)