[R] Data.frame columns in R console

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Feb 8 20:49:44 CET 2007

?options, look for 'width'.

I don't know what OS this in: the Windows Rgui has an option to set the
width to the width of the console, but you can override it.

On Thu, 8 Feb 2007, Lauri Nikkinen wrote:

> Hi R-users,
> A newbie question: assume that I have for example 30 columns in my
> data.frame named DF. When I print DF in R console I get columns that don't
> fit on the same row underneath each other. So how do I change the R console
> preferences so that the console does not wrap my data.frame columns? I want
> the columns to be printed next to each other, as in a normal table.
> Cheers,
> Lauri
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> 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.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list