console_width: Determine the width of the console

View source: R/width.R

console_widthR Documentation

Determine the width of the console

Description

It uses the RSTUDIO_CONSOLE_WIDTH environment variable, if set. Otherwise it uses the width option. If this is not set either, then 80 is used.

Usage

console_width()

Value

Integer scalar, the console with, in number of characters.


r-lib/cliapp documentation built on April 28, 2024, 1:23 a.m.