I get an error when I try to import rpy2. Here is the code and error.
>>> import pandas.rpy.common
Traceback (most recent call last):
File \"C:\\PF\
In my case it worked when I installed it in Anaconda Prompt with a command:
conda install -m rpy2
After that I had to move rpy2 directory from rpy2-2.9.0-py3.6-win32.egg (folder that was installed to) cause it didn't recognized it after installation...and moved only rpy2 folder to the following path:
C:\Users..\Anaconda3\Lib\site-packages (where all packages are called from)
That solved problem for me.