sys: Powerful and Reliable Tools for Running System Commands in R

Drop-in replacements for the base system2() function with fine control and consistent behavior across platforms. Supports clean interruption, timeout, background tasks, and streaming STDIN / STDOUT / STDERR over binary or text connections. Arguments on Windows automatically get encoded and quoted to work on different locales. On Unix platforms 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.

Version: 2.1
Suggests: spelling, unix (≥ 1.3), testthat
Published: 2018-11-13
Author: Jeroen Ooms ORCID iD [aut, cre], Gábor Csárdi [ctb]
Maintainer: Jeroen Ooms <jeroen at>
License: MIT + file LICENSE
NeedsCompilation: yes
SystemRequirements: libapparmor-dev (optional, debian/ubuntu only)
Language: en-US
Materials: NEWS
CRAN checks: sys results


Reference manual: sys.pdf
Package source: sys_2.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: sys_2.1.tgz, r-oldrel: sys_2.1.tgz
Old sources: sys archive

Reverse dependencies:

Reverse imports: antiword, metaboGSE, opencpu, phylocomr, phylotaR, plinkQC, rtika, unrtf
Reverse suggests: redux, ssh


Please use the canonical form to link to this page.