Re: [Rpy] [PATCH] passing numpy arrays to rpy2 functions

2008-11-19 Thread Nathaniel Smith
On Mon, Nov 17, 2008 at 1:11 PM, laurent <[EMAIL PROTECTED]> wrote: > Yes, I have briefly seen that you are doing it at the rpy2.robjects > level. That's certainly a good way to go when wanting to offer such > capability. > > Regarding SexpVector accepting numpy's one-dimensional arrays, that's > b

Re: [Rpy] [PATCH] passing numpy arrays to rpy2 functions

2008-11-19 Thread laurent
I took the time to do that a little earlier. There are adaptations to the patch, and the numpy-capabilities are confined to a module (this way, no conditional import - and you can have more freedom to modify further your code). It also made me realize shortcomings in the design of rpy2.robjects-

[Rpy] SF.net SVN: rpy:[697] rpy2/branches/version_2.0.x

2008-11-19 Thread lgautier
Revision: 697 http://rpy.svn.sourceforge.net/rpy/?rev=697&view=rev Author: lgautier Date: 2008-11-19 22:12:22 + (Wed, 19 Nov 2008) Log Message: --- robjects: - new module conversion (useful for user-defined additional conversion function) - new module numpy2ri (