How can I pass large arrays between numpy and R?

后端 未结 3 1870
后悔当初
后悔当初 2021-01-04 23:03

I\'m using python and numpy/scipy to do regex and stemming for a text processing application. But I want to use some of R\'s statistical packages as well.

What\'s th

3条回答
  •  情歌与酒
    2021-01-04 23:43

    I cannot comment on "large data" between shared between R and Python, but I have had a much easier time working with pyRserve than RPy or RPy2.

    That being said, I am curious about the text processing you are doing? Python obviously has a lot to offer on the text processing side, but statistically there is a lot too in packages like NLTK and the Pattern package from CLiPS. Are you just more comfortable doing stats in R, or is there something specific missing in Python?

提交回复
热议问题