Tried to guess R's HOME but no R command in the PATH. OsX 10.6

macos, python, r, rpy2

Solution

Make sure you have R installed

brew install r

Then install rpy

pip install rpy2

Problem

I am trying to install rpy2 and I am facing a common issue. Unfortunately all the solution I have found are for win7 I have installed a Python 2.7 and R 2.15. then I write on the terminal ``` easy_install rpy2 ``` or, alternatively ``` pip install rpy2 ``` Same result: ``` Tried to guess R's HOME but no R command in the PATH ``` What I should do?

Original source

Related problems