r-sys 3.4 Powerful and reliable tools for running system commands in R
This package provides drop-in replacements for the base
system2() function with fine control and consistent behavior across platforms. It supports clean interruption, timeout, background tasks, and streaming STDIN / STDOUT / STDERR over binary or text connections. The package also provides functions for evaluating expressions inside a temporary fork. Such evaluations have no side effects on the main R process, and support reliable interrupts and timeouts. This provides the basis for a sandboxing mechanism.