console_width

0th

Percentile

Determine the width of the console

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.

Aliases
  • console_width
Documentation reproduced from package cli, version 2.0.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.