Andrie's answer is good, although a super-duper monitor is sometimes used and 9999 is not enough .; -)
Here is my function to set the screen width:
setWidth <- function (width = NULL)
{
if (is.null(width)) {
columns <- as.numeric(Sys.getenv("COLUMNS"))
if (!is.na(columns)) {
options(width = columns)
}
else {
options(width = 100)
}
}
else {
options(width = width)
}
}
This has been reviewed previously.
, , , : , , - options(digits = ...) . . ?options.