Monday, 19 April 2010

R tip: Maximum screen width

R can be annoying in that even if you stretch your terminal or R GUI session to a whole screen width it will still only show 80 characters width. This can make wide tables really hard to read.

 options(width=150)

Use the options command width to set this parameter to what ever you like. Easy.

1 comment:

  1. On my OS, it was necessary to use quotations marks to set the width option:
    options("width"=150)

    ReplyDelete