The rnumpy concept looks great, and addresses some annoyances I've 
encountered working at the interface between R and numpy. I hope to test 
rnumpy this week, but in the meantime ... the text suggests that R data 
frames can be manipulated/sliced using rnumpy. Can they be created 
directly as well? Is that what is meant by "numpy arrays are mapped 
correctly by default"? If so, what's the syntax? My particular use case is 
conversion of flexible-type numpy arrays or numpy arrays of type object. 
Also, can one return a data frame that has been manipulated in R to a 
numpy (flexible-type) array?

Great work ... I'll get you feedback as soon as I can squeeze out some 
time.

-best
Gary

On Mon, 23 Mar 2009, Nathaniel Smith wrote:

> I finally had a chance to write up some quick documentation, so I
> pushed out a copy of my enhanced Python->R API for feedback.
>
> This is an alternative to the rpy2.robjects API (it still depends on
> rpy2.rinterface version 2.0.3, plus it needs numpy to be installed),
> and is subject to change. But I've been using it in anger for a few
> weeks now, and it's been pretty good to me. Maybe it'll be good to you
> to.
>
> You can fetch it through mercurial with:
>  hg clone http://bitbucket.org/njs/rnumpy/ rnumpy
> Or just download the two files directly:
>  http://bitbucket.org/njs/rnumpy/raw/f57c8ed013ef/rnumpy.py
>  http://bitbucket.org/njs/rnumpy/raw/f57c8ed013ef/ipy_rnumpy.py
>
> The basic API is described (or at least sketched) here:
>  http://bitbucket.org/njs/rnumpy/wiki/API
> And the IPython integration is demoed here (if you only click one link
> in this message, make it this one!):
>  http://bitbucket.org/njs/rnumpy/wiki/IPython_integration
> And the bugs list is here:
>  http://bitbucket.org/njs/rnumpy/wiki/Limitations
>
> I would love it if you could try it out and see if it works for you,
> and give feedback on how you think it compares to rpy2.robjects, any
> ideas you have for improvement, and new bugs you find...
>
> Happy hacking,
> -- Nathaniel
>
> P.S.: Oh, right, license. Umm, call it "the same license terms as rpy2
> itself" for now, which I guess is the MPL/GPL/LGPL combo.
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list
>
>
>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to