[R-SIG-Finance] Batch File Question
josh.m.ulrich at gmail.com
Mon Mar 2 23:09:34 CET 2009
As this is not a finance-related question, you'll probably get much
more/better help from R-help.
On Mon, Mar 2, 2009 at 3:49 PM, John Hawver <john.hawver at gmail.com> wrote:
> I'm trying to setup an XP scheduled task that runs this batch file:
> @echo off
> cd C:\Program Files\R\R-2.8.1\bin
> Rscript -e "date()" -e "format(Sys.time(), \"Z:\John\Rfiles\Btest.R")"
> REM R CMD BATCH Z:\John\Rfiles\Btest.R
> but I get this error:
> 'Rscript' is not recognized as an internal or external command,
> operable program or batch file.
> Press any key to continue . . .
> R is installed on the C drive of the above box.
> Can anyone tell me what I'm doing wrong pls?
> [[alternative HTML version deleted]]
> R-SIG-Finance at stat.math.ethz.ch mailing list
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
More information about the R-SIG-Finance