Subprocess in R?

I’ve been trying to find a R equivalent to Python’s subprocess and so far I’ve failed. Since a capability to handle child processes in a way that’s more sophisticated than a simple system() call (R has two of them, system() and system2()) might turn out handy I decided to build a new package for R. It’s name is of course subprocess and you can find it on github.

Right now it’s not much – it works only in Linux, it allows you to start a new process, write to its standard input and read from its standard output and standard error output. However, before I put more work into it, I wanted to make sure I’m not repeating someone else’s work – and if it turns out there is value in this work, to see what other R users might want this new package to have.

Comments appreciated!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s