[R] Controlling print width settings for 'print' on command line
jwiley.psych at gmail.com
Tue Dec 7 06:53:56 CET 2010
I'm not certain if this will work with PuTTy, but in general (and on
Konsole/other terminals I've run R in) you can set it with the "width"
argument of options() see:
I believe it is 80 by default, so something like:
options(width = 160)
might be about right.
On Mon, Dec 6, 2010 at 9:48 PM, Matthew Pettis <matthew.pettis at gmail.com> wrote:
> I'm using R interactively from a PuTTy command line, and when I print a
> dataframe (default, but just entering the name of the data frame), the
> display is using only half of the available horizontal width in which to
> print columns. How to I tell R how many columns it can/should use for
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Ph.D. Student, Health Psychology
University of California, Los Angeles
More information about the R-help