rstata

Setting the line length in R


Google R style guide suggests line length of maximum 80 characters. I was wondering how do I set the line length in R. In stata this is done as:

set linesize 80

Solution

  • Is:

    options()$width
    

    what you want?

    You can set it like:

    options(width=80)