[Rd] Pointer ownership with GECreateDevDesc/GEDestroyDevDesc

2014-09-19 Thread Ritch Melton
According to the "R Internals" document, for a custom device, I should create a pDevDesc structure that gets passed to GECreateDevDesc. ..elided... pDevDesc dev; /* Allocate and initialize the device driver data */ if (!(dev = (pDevDesc) calloc(1, sizeof(DevDesc return 0; /* or error() */ /* s

Re: [Rd] last user argument missing from Rscript --verbose

2014-09-19 Thread Scott Kostyshak
On Fri, Sep 19, 2014 at 8:12 AM, Martin Maechler wrote: >> Harris A Jaffee >> on Thu, 18 Sep 2014 19:32:29 +0200 writes: > > (using HTML, please don't ) > >> The loop that echoes the arguments almost always stops too soon. It >> apparently does that to avoid >> echoing t

Re: [Rd] last user argument missing from Rscript --verbose

2014-09-19 Thread Martin Maechler
> Harris A Jaffee > on Thu, 18 Sep 2014 19:32:29 +0200 writes: (using HTML, please don't ) > The loop that echoes the arguments almost always stops too soon. It > apparently does that to avoid > echoing the "--args" (that had been inserted) when there are no user > argu