Skip to content
Prev 49064 / 63424 Next

last user argument missing from Rscript --verbose

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 argument, at the time --args is currently included, is

	(i0+1) < argc

Scott's fix, already in the devel version, solves my original complaint and
should continue to do so, as long as av[ac] continues to be the terminating
NULL.  That is, av[ac-1] is the last argument in the R command.
On Sep 20, 2014, at 4:39 PM, Martin Maechler <maechler at stat.math.ethz.ch> wrote: