rpy2 install on windows 7

前端 未结 9 902
轮回少年
轮回少年 2020-11-27 02:50

I\'m trying to install rpy2 on my computer, but I wasn\'t able to do it.

I downloaded the source package and I tryed to install Rpy2 (rpy2-2.3.2) using the command <

9条回答
  •  一向
    一向 (楼主)
    2020-11-27 03:24

    I am not sure if anyone is still following the discussion but in any case, My aim in trying to get rpy2 to work was so to be able to get it working in my Ipython notebooks. If anyone else is trying to do the same, I would suggest using IRkernel which installs smoothly as a cake (well made cake). Here are the resources to get it done. I have used it and it works like a charm.

    basically what you need to run is this:

    install.packages(c('rzmq','repr','IRkernel','IRdisplay'),repos = c('http://irkernel.github.io/', getOption('repos')))
    
    IRkernel::installspec()
    

    Here are the resources if you find any troubles:

    https://github.com/IRkernel/IRkernel

    http://blog.revolutionanalytics.com/2015/09/using-r-with-jupyter-notebooks.html

    http://www.michaelpacer.com/maths/r-kernel-for-ipython-notebook

    HTH

提交回复
热议问题