You can use the new
cli.default_num_colors option to set the default
number of ANSI colors, only if ANSI support is otherwise detected.
See the details in the manual of
num_ansi_colors(). (From cli.)
crayon now install cleanly on R 3.4.x and R 3.5.x on Windows (#131).
Better ANSI support detection if there is an active
Support ANSI markup in RStudio jobs.
ANSI color support detection works correctly now in older RStudio (#112).
ANSI color support detection works correctly now on older R versions (#109).
Overhauled and much improved detection of ANSI color support and number of ANSI colors.
NO_COLOR environment variable disables color (#64)
Now colors are turned on if ANSICON (https://github.com/adoxa/ansicon) is active.
hyperlink() function to add hyperlinks to terminal output.
has_hyperlink() function tests if the current
reset style now restores previous style for text following it (@brodieG,
Warnings are no longer generated when the INSIDE_EMACS environment variable is set but does not include a version number.
Style functions convert arguments to character now
Autodetect RStudio ANSI support
type argument, default
Removed dependency to
memoise (@brodieG, #25)
Fixed a test case that changed the
setting, potentially (@brodieG)
crayon.colors option, to specify the number of
tput colors=8 will use 256 colors,
as 256 colors are usually supported in this case (#17)
Support colors in ConEmu and cmder, on Windows
Fix color detection in Emacs tramp
col_substr corner cases:
handle empty chunks at beginning or end of strings
base::strsplit (@brodieG, #26)
explicitly deal with 'split' values that are not length 1 as that is not currently supported
handle zero length
x argument in
add more explicit error messages for corner cases
Some performance improvements to
Change rgb to ANSI code mapping, based on the "paint" ruby gem (@richfitz, #33, #34)
R CMD checkproblems.
Colors are turned on by default in Emacs ESS 23.x and above.
Functions to turn on and off a style:
tput corner cases (@jimhester, #21)
tputexists, but fails with an error and/or does not return anything useful. (@jimhester, #18, #19)
Fix detection of number of colors, it was cached from installation time (#17).
Color aware string operations. They are slow and experimental currently.
show_ansi_colors() prints all supported colors on the screen.
256 colors, on terminals that support it.
Disable colors on Windows, they are not supported in the default setup.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.