Description Usage Arguments Value See Also Examples
We check that all of the following hold:
The stream is a terminal.
The platform is Unix.
R is not running inside R.app (the macOS GUI).
R is not running inside RStudio.
R is not running inside Emacs.
The terminal is not "dumb".
stream
is either the standard output or the standard error stream.
1 | is_ansi_tty(stream = "auto")
|
stream |
The stream to inspect or manipulate, an R connection
object. It can also be a string, one of |
TRUE
or FALSE
.
Other terminal capabilities:
is_dynamic_tty()
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.