From brod|e@g@@|@m @end|ng |rom y@hoo@com  Tue Jan  7 15:13:29 2020
From: brod|e@g@@|@m @end|ng |rom y@hoo@com (brodie gaslam)
Date: Tue, 7 Jan 2020 14:13:29 +0000 (UTC)
Subject: [Rd] Another wish (?) for R 4.0.0:  print(*,  width = <n>)
In-Reply-To: <24084.29271.786439.788271@stat.math.ethz.ch>
References: <24084.29271.786439.788271@stat.math.ethz.ch>
Message-ID: <176003077.7828620.1578406409268@mail.yahoo.com>

 For whatever my 2c are worth I think this would be nice.? I'm still uncomfortable at having to call `options` in my package `diffobj` to set output width.

And since the topic is here, what about `show`?? Feels like it should accept `...` so that it too could be given some set of standard or non standard parameters, including `width`.
Happy new decade.
B.

    On Tuesday, January 7, 2020, 6:58:32 AM EST, Martin Maechler <maechler at stat.math.ethz.ch> wrote:  
 
 One of the things I often wish R would work with:

When calling print() explicitly --- as I do not so rarely, e.g.,
specifying? digits = <nd> ---
it sometimes seems awkward that from the printing options() ,
one can specify 'digits' and it has default? digits = NULL which is
documented to be equivalent to? digits = getOption("digits"),
but one cannot specify 'width'
... well "even worse": one *can* specify 'width = .' but it is
silently ignored - as well documented? on? ?print.default

Before considering to add this for R 4.0.0, doing the work
myself, I'd quickly wanted to hear opinions / caveats / .. about this.

wishing you all a? Happy New Year,
Martin

Martin Maechler
ETH Zurich and R Core Team

______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
  
	[[alternative HTML version deleted]]



[Rd] Another wish (?) for R 4.0.0: print(*, width = <n>)
brodie gaslam