[R] options(width= ) in rw1081

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Nov 23 07:18:42 CET 2003

On Sat, 22 Nov 2003 kjetil at entelnet.bo wrote:

> I just downloaded and installed the factory-fresh
> rw1081. Windows XP. 
> In my Rprofile file in the \etc subdirectory I put
> (among others)
> options(continue=" ")
> options(width=65)
> options(scipen=5)
> options(show.signif.stars=FALSE)
> R is honoring all of this on startup, exept 
> the width=65 option, which does'nt have any effect. I tried
> other values for width also (70, 90) , none honored. R keeps
> the system default of 80. 

Is this in Rgui?  Then it actually keeps to the width of the console on
startup.  From etc/Rconsole

# should options(width=) be set to the console width?
setwidthonresize = yes

So please check that you have set that to your wishes (I guess you have
not).  Unless you resize the console, setting options(width=65) in the
console itself will work.

None of this applies to Rterm.

NB: this *is* in the rw-FAQ, Q4.2.  In case it is not clear to you,
opening the console is a resizing of it, from width and height 0.

NBB: the behaviour is unchanged since rw0641!

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