Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Hey! R Executable Object

Project Description

RExec is a simple interface for running R in bulk on .R files. It is not intended to be a replacement for rpy or rpy2. If you’re the kind of person who does some analysis in R and just wants to mechanize running it (rather than a closer integration with Python), this library might be for you.


A chaining R executing object.

RExec lets you run R code and get the results from Python. For the most part, the interface is pretty hacky. The goal is to make it easy to automate the usage of existing R files, rather than make elegant programs integrating R and Python. (For the latter, you might consider rpy or rpy2.)

An RExec object takes a directory where it will be run. You can then add R code to the object in a variety of ways (append_string, append_file and so on). When you are done appending to the RExec object, you can use the execute() method which will run an R slave process on all of the R that you have appended so far (concatenated together. Finally, you can get access to results of your R script in a relatively unorthodox way. Any files output with an “r_” prefix will be available by calling get_text() or get_graphic() as appropriate.

RExec has a chaining interface. This means you can do things like:

r_ex =(RExec(some_dir)
r_ex.get_graphic('foo.svg', path='absolute')
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hey_rexec-1.0.0.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Mar 10, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting