Re: [Rpy] RPy2 and data.frame

2008-11-16 Thread oliver . tomic
Thanks for the help, guys! laurent <[EMAIL PROTECTED]> wrote on 14.11.2008 20:52:12: > > Beside > http://rpy.sourceforge.net/rpy2/doc/html/rlike.html#module-rpy2. > rlike.functional > > there might only be unit tests, then the source code. ;-) > I should have had a look at that part of the docu

Re: [Rpy] RPy2 and data.frame

2008-11-14 Thread laurent
On Thu, 2008-11-13 at 08:43 +0100, [EMAIL PROTECTED] wrote: [...cut...] > > Now we are trying to make the switch to rpy2. Note that the porting effort does not have to be made in one go. rpy2 has a module to emulate rpy's behavior, and have it interplay with the rest is possible. It is curren

Re: [Rpy] RPy2 and data.frame

2008-11-14 Thread laurent
The constructor for RDataFrame is very conservative regarding that... may be too much, the more I think about it. I am considering making it accept any object that has the method 'items()' (which would at least cover TaggedList as well as regular Python dictionaries). L. On Fri, 2008-11-14 a

Re: [Rpy] RPy2 and data.frame

2008-11-14 Thread laurent oget
I encountered the same issue a few weeks ago http://sourceforge.net/mailarchive/message.php?msg_name=1224257111.11195.93.camel%40hot-spring import array import rpy2.robjects as ro import rpy2.rlike.container as rlc x = ro.RVector(array.array('i', [1,2])) y = ro.RVector(array.array('i', [3,4]))