On Wed, 2009-04-22 at 12:16 -0500, Bo Peng wrote:
(...)

> If the correct answer is r('R.Version()').subset('svn rev')[0][0], I
> have to say that rpy2 is not for me.

1- There is not "one correct answer". There are several ways to achieve
it. Other options are :

import rpy2.robjects as ro

ro.r('R.Version()[["svn rev"]]')[0]
ro.r('R.Version()').r["svn rev"][0][0]

2- rpy is still around.

>  I can see that a lot of energy
> has been devoted to make Python and R integrate better, but I do not
> see any benefit from such an effort.



>  In summary,
> 
> 1. rpy_classic is not the same as rpy.

This is not a complete implementation of the rpy API because of:
- limited resources
- apparently a limited demand
Contributions have not been many.

> 2. The R vector etc are too complicated to use, and I do not see any
> benefit of using them.

Watch closer, I'd like to say.

> 3. The rpy_object stuff is almost useless without support for the . to
> _ conversion, because there are so many functions in R with .
> (dev.off(), as.xxxx()...).
> 

It's straightforward to implement for yourself. Where is the/your
problem ?


> I apologize if all these were due to my incorrect use of rpy2.

Shouldn't that though come first ?



> Bo
> 
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to