cli_output_connection: The connection option that cli would use

View source: R/tty.R

cli_output_connectionR Documentation

The connection option that cli would use

Description

Note that this only refers to the current R process. If the output is produced in another process, then it is not relevant.

Usage

cli_output_connection()

Details

In interactive sessions the standard output is chosen, otherwise the standard error is used. This is to avoid painting output messages red in the R GUIs.

Value

Connection object.


r-lib/cli documentation built on April 4, 2024, 11:48 a.m.