Programatically remove all jobs from RStudio's Jobs pane

If I launch a job via rstudioapi::jobRunScript(), I can later remove it with jobRemove(job)

If I have many jobs in the Jobs pane, I can manually remove them all with the broom button.

Is there a way to to the same thing, i.e. remove many jobs without knowing their id, with a rstudioapi command?

Thank you!

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