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.

console_width()

Value

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