Rdocumentation
powered by
Learn R Programming
Copy Link
Link to current version
Version
Version
1.5.3
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.4
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.0
Install
install.packages('crayon')
Monthly Downloads
1,044,296
Version
1.5.3
License
MIT + file LICENSE
Issues
0
Pull Requests
0
Stars
324
Forks
38
Repository
https://github.com/r-lib/crayon
Homepage
https://r-lib.github.io/crayon/
Maintainer
Gabor Csardi
Last Published
June 20th, 2024
Functions in crayon (1.5.3)
Search all functions
has_style
Check if a string has some ANSI styling
start.crayon
Switch on or off a style
styles
ANSI escape sequences of crayon styles
col_strsplit
Split an ANSI colored string
col_nchar
Count number of characters in an ANSI colored string
drop_style
Remove a style
chr
Convert to character
combine_styles
Combine two or more ANSI styles
concat
Concatenate character vectors
col_align
Align an ANSI colored string
crayon
Colored terminal output
col_substring
Substring(s) of an ANSI colored string
col_substr
Substring(s) of an ANSI colored string
show_ansi_colors
Show the ANSI color table on the screen
has_color
Does the current R session support ANSI colors?
hyperlink
Terminal Hyperlinks
make_style
Create an ANSI color style
num_colors
Number of colors the terminal supports
num_ansi_colors
Detect the number of ANSI colors to use
strip_style
Remove ANSI escape sequences from a string
style
Add style to a string