rpy
import rpy2
%load_ext rpy2.ipython
%load_ext rmagic ########## This works
%R a=c(1:5)
%R a
%R -i df_unique #passing df_unique from python to R
%%R to denote a full cell of R code
http://www.randalolson.com/2013/01/14/filling-in-pythons-gaps-in-statistics-packages-with-rmagic/