[R] R and Python

Collin Lynch cflynch at ncsu.edu
Sun Mar 1 22:01:56 CET 2015


I recommend rpy2.  http://rpy.sourceforge.net/rpy2.html

It provides direct access to a running R instance with full support for R
functions including package loading.  It has some minor issues with
graphics drivers making it best for programmatic and not interactive use
but it is excellent for munging data in python and then passing it off to R
for calculations.

    Collin.

On Sun, Mar 1, 2015 at 10:17 AM, Sarah Goslee <sarah.goslee at gmail.com>
wrote:

> You mean like rPython? Or rpy? Or rpy2?
>
> Googling R Python is a great place to start.
>
> Sarah
>
> On Sun, Mar 1, 2015 at 9:41 AM, linda.s <samrobertsmith at gmail.com> wrote:
> > Is there any good example codes of integrating R and Python?
> > Thanks.
> > Linda
> >
> --
> Sarah Goslee
> http://www.functionaldiversity.org
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list