Installing and understanding the tasksheduleR library
The taskscheduleR R package allows you to schedule R scripts or processes with the Windows task scheduler. This means that you can automate R processes on specific time points from within R itself. The package is basically a wrapper around the Schtasks.exe functionality. Schtasks.exe is a command line tool that allows you to create, delete, query, change, run, and finish scheduled tasks on a local or remote computer. To use taskscheduleR, you first need to install the package from CRAN. Once the package is installed, you can use the following functions to schedule R scripts:
taskscheduler_create(): This function creates a new scheduled task.taskscheduler_remove(): This function removes an existing scheduled task. If you are using version 1.8, then the function istaskscheduler_delete().taskscheduler_get(): This function gets the information about an existing scheduled task.
The taskscheduler_create() function...