useUnicode: Get/Set Unicode Printing Method

View source: R/useUnicode.R

useUnicodeR Documentation

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

current <- useUnicode()
useUnicode(TRUE)
useUnicode()
useUnicode(current)

xoopR/set6 documentation built on Sept. 2, 2023, 4:45 a.m.