[R] calling R from python (fwd)

Tim Churches tchur at optushome.com.au
Mon Dec 23 21:24:03 CET 2002


Agustin Lobo wrote:
> 
> A question for a (experienced) user of the RPython package on
> linux.
> 
> I'm trying to call R from python on a linux (Suse 7.3) box.

Since you are calling R from Python, you could try Walter Moreira's
excellent RPy module. I found it much easier to install than RSPython
(provided you follow Waletr's instructions), and it has been very
reliable. It is also very efficient at converting Numeric Python arrays
to R, and has a very easy to use object model - much nicer than
RSPython's. See http://rpy.sourceforge.net

Of course, RSPython can also call Python from R, which RPy can't do.

Tim C




More information about the R-help mailing list