Re: [Rpy] rpy2, numpy, and buffers

2010-02-14 Thread Laurent Gautier
On 2/14/10 8:06 PM, Nathaniel Smith wrote: > On Sun, Feb 14, 2010 at 12:14 AM, Laurent Gautier wrote: >>> Can you elaborate on what cool new features we'll see as a result of >>> this? >> >> By exporting the buffer protocol, all Python tools that make use of (so >> obviously numpy among them) will

Re: [Rpy] rpy2, numpy, and buffers

2010-02-14 Thread Nathaniel Smith
On Sun, Feb 14, 2010 at 12:14 AM, Laurent Gautier wrote: >> Can you elaborate on what cool new features we'll see as a result of >> this? > > By exporting the buffer protocol, all Python tools that make use of (so > obviously numpy among them) will be able to access efficiently the data in R > vec

Re: [Rpy] rpy2, numpy, and buffers

2010-02-14 Thread Laurent Gautier
On 2/14/10 9:14 AM, Laurent Gautier wrote: > On 2/14/10 7:57 AM, Nathaniel Smith wrote: >> On Sat, Feb 13, 2010 at 9:55 PM, Laurent Gautier >> wrote: >>> Hi, >>> >>> rpy2-2.1.x will be dropping the "__array_struct__" way to export array >>> information from R arrays to numpy arrays, and use instead

Re: [Rpy] rpy2, numpy, and buffers

2010-02-14 Thread Laurent Gautier
On 2/14/10 7:57 AM, Nathaniel Smith wrote: > On Sat, Feb 13, 2010 at 9:55 PM, Laurent Gautier wrote: >> Hi, >> >> rpy2-2.1.x will be dropping the "__array_struct__" way to export array >> information from R arrays to numpy arrays, and use instead the new >> buffer protocol in Python. >> >> This li