James Cutler - U.S. Army

Title: Easily Automating R Scripts on Windows

Abstract:


This talk will provide sample code and an overview of how to easily call your R scripts from the Windows command line. The code can be dropped in to any existing R script and automatically detects whether the script is being run under R/RStudio or from the command line. From there, it is simple to use the Windows task scheduler to automatically run your scripts while not needing to jump through any hoops to develop in R or RStudio.