[R-SIG-Finance] Batch File Question

Josh Ulrich 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.

Best,
Josh
--
http://quantemplation.blogspot.com



On Mon, Mar 2, 2009 at 3:49 PM, John Hawver <john.hawver at gmail.com> wrote:
> Hi,
>
> 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
> pause
>
> 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?
>
> Thanks,
> John
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Finance at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
>



More information about the R-SIG-Finance mailing list