Re: [Rpy] rpy2: Conversion from RVector and RArray to Python Lists

2009-03-16 Thread Laurent Gautier
Mark Larsen wrote: > I'm taking the plunge and switching over to rpy2. While, Python to > RObjects seems straightforward, what about the reverse? It just depends of what you want the reverse to be, I suppose. > For example, I have a R function which returns a matrix. How can I get > this int

[Rpy] rpy2: Conversion from RVector and RArray to Python Lists

2009-03-16 Thread Mark Larsen
I'm taking the plunge and switching over to rpy2. While, Python to RObjects seems straightforward, what about the reverse? For example, I have a R function which returns a matrix. How can I get this into a list of lists OR loop over each column (or row) pulling the vector one at a time? What's

[Rpy] rpy2 in ArcGIS 9.3

2009-03-16 Thread Jason Roberts
Greetings rpy2 developers, I am the primary developer of an open source Python package called Marine Geospatial Ecology Tools (http://code.env.duke.edu/projects/mget). These tools perform various jobs that are useful to marine ecologists. Many of the tools are designed to be invoked from ArcGIS