IPython notebook and rmagic/rpy2: cannot find module ri2py (OSX 10.8.5, python 2.7, R 3.1)

前端 未结 1 817
耶瑟儿~
耶瑟儿~ 2020-12-31 20:42

I\'m trying to use the rmagic extension for the IPython notebook, using Python 2.7.6 via Enthought Canopy.

When I try the following example:

import n         


        
相关标签:
1条回答
  • 2020-12-31 21:25

    Are you using %load_ext rmagic?

    If so, try using %load_ext rpy2.ipython instead.

    This is one of the new features in version 2.4.0.

    0 讨论(0)
提交回复
热议问题