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

2014-09-21 Thread Dirk Eddelbuettel
On 20 September 2014 at 19:55, Harris A. Jaffee wrote: | Terrific, and I appreciate your thoughts and encouragement. | | So, getting back on-list, I propose a backward-incompatible change, with | or without --verbose, that the --args be included in the 'av' array, and | passed to R, only if there

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

2014-09-21 Thread Harris A. Jaffee
Terrific, and I appreciate your thoughts and encouragement. So, getting back on-list, I propose a backward-incompatible change, with or without --verbose, that the --args be included in the 'av' array, and passed to R, only if there are user arguments to follow it. The condition for a first argum

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

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

2014-09-18 Thread Harris A. Jaffee
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 arguments. However, when there are user arguments, the next element of the 'av' array is the last argument and usually not "--a