check_no_of_tasks: check number of running tasks

Description Usage Arguments Value Examples

Description

searches a sstring returned by the system command tasklist for a task regex pattern. Returns the number of occurrences.

Usage

1
2
check_no_of_tasks(task_regex = c("rsession\\.exe", "Rgui\\.exe",
  "R\\.exe", "Rscript\\.exe", "Rcmd\\.exe"))

Arguments

task_regex

regex pattern for task, Default: 'rsession\.exe'

Value

integer, number of tasks

Examples

1
2
3
4
## Not run: 
check_no_of_tasks()

## End(Not run)

erblast/updateR documentation built on May 17, 2019, 7:04 p.m.