File: cli_output_connection.Rd

package info (click to toggle)
r-cran-cli 3.6.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,288 kB
  • sloc: ansic: 16,412; cpp: 37; sh: 13; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tty.R
\name{cli_output_connection}
\alias{cli_output_connection}
\title{The connection option that cli would use}
\usage{
cli_output_connection()
}
\value{
Connection object.
}
\description{
Note that this only refers to the current R process. If the output
is produced in another process, then it is not relevant.
}
\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.
}