1

How do I make a command to auto execute a script in Rstudio? I have a script in Rstudio to handle a database, but I need it to be run at 7:00 AM, automatically. My operation system is Windows and i can't install the cronR. Exist other mode??

Rermartins
  • 19
  • 3

1 Answers1

1

Try package cronR:

"Schedule R scripts/processes with the cron scheduler. This allows R users working on Unix/Linux to automate R processes on specific timepoints from R itself. Mark that if you are looking for a Windows scheduler, you might be interested in the R package taskscheduleR available at https://github.com/bnosac/taskscheduleR. The package contains also an RStudio add-in."

Terru_theTerror
  • 4,918
  • 2
  • 20
  • 39