Learn R Programming

reproducible (version 1.1.1)

.grepSysCalls: Grep system calls

Description

A faster way of grepping the system call stack than just grep(sys.calls(), pattern = "test")

Usage

.grepSysCalls(sysCalls, pattern)

Arguments

sysCalls

The return from sys.calls()

pattern

Character, passed to grep

Value

Numeric vector, equivalent to return from grep(sys.calls(), pattern = "test"), but faster if sys.calls() is very big.