[Rd] R-ints context documentation

2020-05-26 Thread brodie gaslam via R-devel
In 1.4 Contexts[1], should the following: > Note that whilst calls to closures and builtins set a context, > those to special internal functions never do. Be something like: > Note that whilst calls to closures always set a context, > those to builtins only set a context under profiling > or

Re: [Rd] paste(character(0), collapse="", recycle0=FALSE) should be ""

2020-05-26 Thread Hervé Pagès
Hi Martin, On 5/26/20 06:24, Martin Maechler wrote: ... What about remaining back-compatible, not only to R 3.y.z with default recycle0=FALSE, but also to R 4.0.0 with recycle0=TRUE What back-compatibility with R 4.0.0 are we talking about? The 'recycle0' arg was added **after** the R 4.0.0

Re: [Rd] closing R graphics windows?

2020-05-26 Thread Jan T. Kim via R-devel
>From my rusty memory of X11 hacking, this should be elementary at the X11 end of things -- something along the lines of adding key event handling and responding to the Ctrl-W event. There may be no need for this for X11, though, as the normal X11 way is to have the window manager manage such

Re: [Rd] closing R graphics windows?

2020-05-26 Thread frederik
I use keyboard shortcuts to interact with my window manager. One of those shortcuts closes the currently focused window. This is on Linux. The only annoying thing for me is that 'plot()' is not interruptible, so neither Ctrl-C nor the window manager can stop a plot once it has started - but I

[Rd] closing R graphics windows?

2020-05-26 Thread Ben Bolker
   Does anyone have any idea how hard it would be/where to start if one wanted to hack/patch R to allow X11 graphics windows that had keyboard focus to be closed with standard keyboard shortcuts (e.g. Ctrl-W to close on Linux)?  Has this been suggested/tried before?    cheers     Ben

Re: [Rd] round() and signif() do not check argument names when a single argument is given

2020-05-26 Thread Martin Maechler
> Shane Mueller > on Sat, 23 May 2020 00:37:57 -0400 writes: > On Fri, May 22, 2020 at 9:55 PM David Winsemius > wrote: >> The premise in the first few lines of your preamble is at odds (in the >> logical sense) with my understanding of primitive function behavior.

Re: [Rd] paste(character(0), collapse="", recycle0=FALSE) should be ""

2020-05-26 Thread Martin Maechler
> Hervé Pagès > on Sun, 24 May 2020 14:22:37 -0700 writes: > On 5/24/20 00:26, Gabriel Becker wrote: >> >> >> On Sat, May 23, 2020 at 9:59 PM Hervé Pagès > > wrote: >> >> On 5/23/20 17:45, Gabriel Becker wrote: >> > Maybe my

Re: [Rd] [FORGED] Re: Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?

2020-05-26 Thread Kenny Bell
I also tried just upgrading to 20.04 and that seemed to fix it. On Tue, May 26, 2020 at 5:38 PM Kenny Bell wrote: > I can also confirm that the latest https://hub.docker.com/_/r-base has > the correct behaviour. > > On Tue, May 26, 2020 at 5:05 PM Kenny Bell wrote: > >> I was actually able to