cronR in Positron #8019
-
Is there a cronR extension within Positron? Or something similar where we can schedule our R scripts within Positron? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use the cronR package as usual in Positron to schedule scripts. In other words this should work fine: cron_add(cmd, frequency = 'minutely', id = 'job1', description = 'Customers') However, cronR's RStudio add-in that adds a dialog you can use to create schedules won't work in Positron. Currently Positron only supports limited RStudio API features and doesn't support RStudio add-ins. Positron supports the VS Code extension API and also has a full API for working with R and Python sessions, so it would be possible for someone to build a job scheduling UI for cronR in Positron! |
Beta Was this translation helpful? Give feedback.
You can use the cronR package as usual in Positron to schedule scripts. In other words this should work fine:
However, cronR's RStudio add-in that adds a dialog you can use to create schedules won't work in Positron. Currently Positron only supports limited RStudio API features and doesn't support RStudio add-ins.
Positron supports the VS Code extension API and also has a full API for working with R and Python sessions, so it would be possible for someone to build a job scheduling UI for cronR in Positron!