Sunday 23 September 2012

Adjusting console column width number in R.

options(width=Sys.getenv("COLUMNS"))


It may be put in ~/.Rprofile to initialize during startup, but the Squeeze version (2.11.1) seems to be bugged out and does not work. My attempt in being a smartass

options(width = system("echo $COLUMNS", intern = TRUE))

does not work either.

No comments:

Post a Comment