[R] Expand 80 columns terminal output

Bert Gunter bgunter.4567 at gmail.com
Sat May 7 20:31:13 CEST 2016


Actually, I think this may depend on context. options(width =...)
directly controls only what is described in it's Help file. It does
not necessarily control the width of lines in the console or whatever
GUI you might be interacting with, nor necessarily the width at which
many objects are printed, which is under the control of their print()
methods, including defaults. Note, however, many such defaults default
to the options value, which may or may not be what you want for them.

Cheers,
Bert
Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Sat, May 7, 2016 at 9:38 AM, David Winsemius <dwinsemius at comcast.net> wrote:
>
>> On May 7, 2016, at 9:31 AM, Marco Silva <marco.prado.bs at gmail.com> wrote:
>>
>> Hi R'ers,
>>
>> I noted that R breaks lines for any output greater than 80 chars,
>> Is there a way to expand this limit ?
>
> ?options
>
> options(width=120)
>
> --
>
> David Winsemius
> Alameda, CA, USA
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list