R is a popular scripting language used in statistics and data analysis. RPy2 is an interface between R and Python. We will install RPy2 in this recipe.
If you want to install RPy2 choose one of the following options:
easy_install: RPy2 is available on PYPI, so we can install it with this command:
$ easy_install rpy2
Alternatively, we can use the following command:
$ sudo pip install rpy2 $ pip freeze|grep rpy2 rpy2==2.4.2
$ tar -xzf <rpy2_package>.tar.gz $ cd <rpy2_package> $ python setup.py build install