Re: [Rd] Patch for R-exts.texi

2017-07-08 Thread Martin Maechler
> Scott Kostyshak > on Mon, 3 Jul 2017 02:09:47 -0400 writes: > Attached is a patch for R-exts.texi against r72880. Here > are some of the changes I made: > - Fix a broken link: > https://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/Instr

Re: [Rd] Patch for R-exts.texi

2017-07-08 Thread Scott Kostyshak
On Sat, Jul 08, 2017 at 06:18:25PM +0200, Martin Maechler wrote: > > Scott Kostyshak > > on Mon, 3 Jul 2017 02:09:47 -0400 writes: > > > Attached is a patch for R-exts.texi against r72880. Here > > are some of the changes I made: > > > - Fix a broken link: > > > htt

Re: [Rd] attributes on symbols

2017-07-08 Thread Radford Neal
Attributes on symbols seem like a bad idea to me. An additional obscure part of the global state seems undesirable. I can't see how any use of them would be preferrable to storing an environment in some global variable, in which the same information could be recorded. Note that the attributes on

Re: [Rd] bug: deparse sometimes omits parentheses for unary operators

2017-07-08 Thread Radford Neal
> From: "Binder, Martin" > To: r-devel@r-project.org > Subject: [Rd] bug: deparse sometimes omits parentheses for unary > operators > > Example (bad): > > (expr = substitute(-a * 10, list(a = quote(if (TRUE) 1 else 0 > -if (TRUE) 1 else 0 * 10 > > The parentheses around the "if"-construc