On Sun, Jul 5, 2009 at 10:18 AM, Daniel Yuan<dy...@jhmi.edu> wrote: > Looking a little deeper, I actually do *not* find an R subprocess when > I initialize rpy2. I guess I do not understand exactly how rpy2 is > initializing R without a subprocess.
Ah. Yeah, no subprocess here :-). The normal R command line is just a program that loads up the core R code -- some functions written in C that knows how to evaluate code written in R, and wraps a UI around them. rpy2 loads up that same core R code, but into a Python process instead. So you can think of it as turning your program into a combined Python/R interpreter. rpy2 really does "turn R into a Python library" that makes R functions act a lot like any other Python functions. -- Nathaniel ------------------------------------------------------------------------------ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list