As we discussed, cronjobs are for scheduling a task and automatizing scripts. They are triggering scripts based on your preferences. For example, if you have a daily cronjob, this job will trigger the script/scripts on a daily basis.
Creating cronjobs on Linux-based operation systems is quite easy and straightforward. But on windows, this would be a bit hard and more complicated. Don't worry; R Studio already thought about this, and it has released scheduler add-in for this purpose.
- To activate and use scheduler add-in, please click Tools on RStudio and mouse over Addins and then click Browse Addins: