if (FALSE) {
job_id = c(10000000, 10000001, 10000002) # job ids can be get from `bjobs()`
bkill(job_id)
# kill all jobs (running and pending) of which the names contain "example"
bkill(filter = "example")
}
Run the code above in your browser using DataLab