Re: [Rd] [patch] Rscript off-by-one error in output

2014-09-20 Thread Scott Kostyshak
On Wed, Jul 9, 2014 at 7:26 PM, Scott Kostyshak wrote: > Rscript eats up the last argument when reporting the command it runs: > > $ Rscript --verbose "/tmp/test.R" one two three > running > '/usr/local/lib/R-devel/lib/R/bin/R --slave --no-restore > --file=/tmp/test.R --args one two' > > With th

[Rd] [patch] Rscript off-by-one error in output

2014-07-09 Thread Scott Kostyshak
Rscript eats up the last argument when reporting the command it runs: $ Rscript --verbose "/tmp/test.R" one two three running '/usr/local/lib/R-devel/lib/R/bin/R --slave --no-restore --file=/tmp/test.R --args one two' With the patch below, I get the following: $ Rscript --verbose "/tmp/test.R"