symbol: Various handy symbols to use in a command line UI

Description Usage Format Details Examples

Description

Various handy symbols to use in a command line UI

Usage

1

Format

A named list, see names(symbol) for all sign names.

Details

On Windows they have a fallback to less fancy symbols.

Examples

1
2
3
4
5
cat(symbol$check, " SUCCESS\n", symbol$cross, " FAILURE\n", sep="")

## All symbols
cat(paste(format(names(symbol), width=20),
  unlist(symbol)), sep = "\n")

Example output

 SUCCESS
x FAILURE
tick                 <U+221A>
cross                x
star                 *
square               <U+2588>
square_small         [ ]
square_small_filled  [<U+2588>]
circle               ( )
circle_filled        (*)
circle_dotted        ( )
circle_double        (o)
circle_circle        (o)
circle_cross         (x)
circle_pipe          (|)
circle_question_mark (?)
bullet               *
dot                  .
line                 <U+2500>
double_line          =
ellipsis             ...
pointer              >
info                 i
warning              <U+203C>
menu                 <U+2261>
smiley               <U+263A>
mustache             <U+250C><U+2500><U+2510>
heart                <U+2665>
arrow_up             ^
arrow_down           v
arrow_left           <
arrow_right          >
radio_on             (*)
radio_off            ( )
checkbox_on          [x]
checkbox_off         [ ]
checkbox_circle_on   (x)
checkbox_circle_off  ( )
fancy_question_mark  (?)
neq                  !=
geq                  >=
leq                  <=
upper_block_1        ^
upper_block_4        ^
lower_block_1        .
lower_block_2        _
lower_block_3        _
lower_block_4        =
lower_block_5        =
lower_block_6        *
lower_block_7        <U+2588>
lower_block_8        <U+2588>
full_block           <U+2588>

clisymbols documentation built on May 2, 2019, 3:54 p.m.