/RWinOut

Workaround for R output on IPython

Primary LanguagePythonMIT LicenseMIT

RWinOut

Example of IPython extension with a simple dirty hack which solves (workaround :) the R magic output problem on Windows OS. For the error description, check here.

It can be used as starting point to make much more cool stuff! Check the official doc for more information.

Installation

It was tested using Windows versions of Python 3.6 and Anaconda 4.4 with the R-essentials package.

Copy RWinOut directly from the repository using the curl command inside your notebook with:

!curl -O "https://raw.githubusercontent.com/vitorcurtis/RWinOut/master/RWinOut.py"

or download it to the working directory.

Dependencies

It requires the Python package rpy2 2.8.X and the R package R.utils.

Usage

Just load it:

%load_ext RWinOut

instead of the rpy2.ipython extensions.

License

RWinOut is licensed under the MIT license. See the license file for details.