Re: [Rpy] RPy, data frames, and referencing columns

2008-02-25 Thread Daniel Dvorkin
It looks like a conversion mode problem. "df" in your example is converted back into a Python dict as soon as it's created, so when you pass it to r.is_data_frame(), R doesn't know what it is. Try the following: df = with_mode(NO_CONVERSION, r.data_frame) \ (timeDataFrame["ut

[Rpy] RPy, data frames, and referencing columns

2008-02-25 Thread Alex Reynolds
Hi, I have been using RPy to try to manipulate a Python list within R. My list is made up of five arrays (four of strings-type and one float-type). My problem is that I can't seem to get a data frame in R. I'd like to, for example, group by 'target', 'build', etc. from calls made in Python. Wh