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.


News

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.

install.packages("subprocess")

0.8.2 by Lukasz Bartnik, 7 months ago


https://github.com/lbartnik/subprocess


Report a bug at https://github.com/lbartnik/subprocess/issues


Browse source code at https://github.com/cran/subprocess


Authors: Lukasz Bartnik [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests mockery, testthat, knitr, rmarkdown

System requirements: C++11


See at CRAN