From r_goertz at web.de  Sat Sep  2 08:35:47 2017
From: r_goertz at web.de (Ralf Goertz)
Date: Sat, 2 Sep 2017 08:35:47 +0200
Subject: [Rd] patch: automatically adjust width option when terminal is
 resized
In-Reply-To: <alpine.DEB.2.20.1709011403350.2718@luke-Latitude>
References: <20170828093331.39607d5b@delligoertz.fritz.box>
 <20170901102321.6921e48a@delligoertz.fritz.box>
 <alpine.DEB.2.20.1709010710340.2718@luke-Latitude>
 <20170901163836.26590c10@delligoertz.fritz.box>
 <alpine.DEB.2.20.1709011403350.2718@luke-Latitude>
Message-ID: <20170902083547.6d694e9a@assi.home.local>

Am Fri, 1 Sep 2017 14:11:19 -0500 (CDT)
schrieb luke-tierney at uiowa.edu:

> On Fri, 1 Sep 2017, Ralf Goertz wrote:
> 
> 
> > On the other
> > hand, the documentation says
> >
> > 	 ?width?: controls the maximum number of columns on a line
> > used in ?
> > 		  ?Print.h? and can be changed by re-compiling R.)
> > Some R consoles automatically change the value when they are
> > resized.  
> 
> 
> Good point.
> 
> The Windows R GUI does this if a preference option is set; I don't
> know what the default is from just a quick look at the sources.
> 
> RStudio does this by default and there is no obvious way, to me at
> least, to turn it off, which is unfortunate given the
> sink/capture.output issues.
> 
> I made changes to R-devel in r73180 to set width if the you set
> options(setWidthOnResize = TRUE). By default this option is not set
> and the width option is not changed. We'll see if it causes any
> problems.
> 
> Best,
> 
> luke


Thanks Luke, appreciate it.

Ralf



[Rd] patch: automatically adjust width option when terminal is resized
Ralf Goertz