The local_executables/EXAMPLE_exec.R script is an example of a "stand-alone executable script". This can be run from inside RStudio or at the command line by passing in various arguments.
After we create a script that generates the specific set of status data we want, we need to wrap it with all the _exec.R features so it can be run from the command line.
Then we can set it up as a "cron job" to run automatically in the background.
The
local_executables/EXAMPLE_exec.R
script is an example of a "stand-alone executable script". This can be run from inside RStudio or at the command line by passing in various arguments.After we create a script that generates the specific set of status data we want, we need to wrap it with all the
_exec.R
features so it can be run from the command line.Then we can set it up as a "cron job" to run automatically in the background.