Learn R Programming

set6 (version 0.2.4)

useUnicode: Get/Set Unicode Printing Method

Description

Change whether unicode symbols should be used when printing sets.

Usage

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

Run this code
# NOT RUN {
current <- useUnicode()
useUnicode(TRUE)
useUnicode()
useUnicode(current)
# }

Run the code above in your browser using DataLab