callr demos or tutorial

I have a slow process I need to run every half hour. It leaves the result in a file which is later analyzed, so there is no interactivity required.

I started with the scheduling issues with {later}, after reading yihui's post.

I would also like to have it run in a background process. I have implemented a first version via RStudio jobs, using rstudioapi::jobRunScript(). It seems to work great!

But the jobs documentation suggests using {callr}. It seems better because it will allow me to kill the process if I need to shut down the loop, or to monitor what is going on.

I am looking for examples or tutorials on this package. I have no experience with processes and am looking for best practices and well programed examples.

I am running this on Windows...

Any suggestions?
Thank you!

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