Is there any function or package that I can assign time to run the code?

Hi, neighbors!

I'm doing my school project with R.
In the data extraction step, I found that the API I am extracting data has a limited query per hour policy.
So, I have to run my code on a one-hour basis and I think it's stupid.
Is there any way to solve this problem by assigning the time to run my code?

I would be so glad to hear from you.

I havent used it myself but this might suit you.
taskscheduleR (r-project.org)

Thank you!

I have one short question. Does it work if I turn R off?

I believe so, but it would seem easy to test.
Set something up to schedule in 5 minutes time , and then turn R off...

Yeah, absolutely!
I found it possible by manipulating somethings in Window scheduler.
Thanks again.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.