Manage Sub-Processes in R

Create and handle multiple sub-processes in R, exchange data over standard input and output streams, control their life cycle.


subprocess 0.8.3

  • fixes building under Solaris

  • replace select() with poll()

  • new API: process_exists()

subprocess 0.8.2

  • fixes in test cases for testthat 2.0

subprocess 0.8.1

  • explicitly register native symbols

  • Ctrl+C works in Windows

  • multiple fixes in test code

subprocess 0.8.0

  • support for Mac OS

  • shared read from both stdout and stderr of the child process

  • new process_close_input() call to close the write end of child's standard input pipe; this in most cases will let the child know it should exit

  • renamed process_poll() to process_wait(); add process_state()

  • converted shared library to C++

  • bugfix: group terminate in Windows

subprocess 0.7.4

  • initial submission to CRAN; basic API works in Linux and Windows

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.8.3 by Lukasz Bartnik, a year ago

Report a bug at

Browse source code at

Authors: Lukasz Bartnik [aut, cre]

Documentation:   PDF Manual  

MIT + file LICENSE license

Suggests mockery, testthat, knitr, rmarkdown

System requirements: C++11

Imported by bigchess, wdman.

See at CRAN