[R] R CMD Batch on Windows and use of the ampersand

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Dec 25 18:44:37 CET 2019


On Wed, 25 Dec 2019 09:13:28 -0800
Erin Hodgess <erinm.hodgess using gmail.com> wrote:

> We know that
> 
> R CMD BATCH infile outfile &
> 
> On Linux or Mac will let you continue interactively from the command
> line.

This is a property of the command line shell being used, not of R CMD
BATCH itself. One way to do the same on Windows would be to use the
start command [*]:

start "" R CMD BATCH infile outfile

If a new window being created is a problem for you, try start "" /MIN
or start "" /B, but I am not sure it would help.

-- 
Best regards,
Ivan

[*] https://ss64.com/nt/start.html



More information about the R-help mailing list