I have Anaconda installed in my system with Python 3.5. When I run:
$ which python
in the terminal, it correctly shows the intended one i.e. the one within Anaconda. When typed:
$ python --version
it shows Python 3.5.3. Now when I installed the rPython package in R, it is taking the python from
usr/bin/python which is Python 2.7.12.
How to set the correct python interpreter for R using rPython?
Thanks in advance