0

I would like to schedule a Rscript via Rstudio. I am able to schedule the task in Windows Task Scheduler but I am not able to run it at the same time.

When I do so, it schedules the task to open the Rscript in RStudio, but I would like to run it as well. How to do that?

enter image description here

lakshmen
  • 27,102
  • 64
  • 169
  • 262

1 Answers1

-1

Indeed, as commented, you could use the taskscheduleR Rstudio add-in. I have tasks scheduled every hour, works perfectly fine, and you can run your script directly (actually one minute delay) to check if the execution is done correctly.

gaut
  • 2,299
  • 1
  • 11
  • 24