Re: [Rpy] rpy2 matrix object has inaccessible column data

2013-08-05 Thread Sean Davis
On Aug 5, 2013 7:51 PM, "Denis Papathanasiou" wrote: > > I'm using rpy2 to access quantmod functions like this: > > >>> from rpy2.robjects import r > >>> r('library(quantmod)') > >>> r('getSymbols("GOOG")') > >>> g = r('quarterlyReturn(GOOG)') > > When I print g, I see it has the dates in the left

[Rpy] rpy2 matrix object has inaccessible column data

2013-08-05 Thread Denis Papathanasiou
I'm using rpy2 to access quantmod functions like this: >>> from rpy2.robjects import r >>> r('library(quantmod)') >>> r('getSymbols("GOOG")') >>> g = r('quarterlyReturn(GOOG)') When I print g, I see it has the dates in the leftmost column: >>> print g quarterly.returns 2007-03-30