Rscript.bat - batchfiles - Windows batchfiles for use with R - Google Project Hosting
if /i not "%last4%"==".bat" set arg1=%arg1%.bat for %%a in ("%R_HOME%\bin\Rscript.exe") do set RSCRIPT=%%~sfa call set args=%%args:%1="%arg1%"%% rem call set args=%%args:%1=%% goto:eof:not#Rscript cd %here% set cmdpath=%R:: if called ......