[R-SIG-Finance] Rownames on blp() return matrix

Brian G. Peterson brian at braverock.com
Wed Mar 17 20:52:53 CET 2010


anna wrote:
> Hello, I am using the blp() function from RBloomberg package to retrieve a
> matrix of prices. I had to reinstall the package and since I can't retrieve
> the dates with rownames() as I used to before. When I display the matrix on
> the console I can see the row names (dates) on the left but when i do
> rownames() it returns me a NULL value...Any idea? Has some changes been done
> on this package? Thank you
>   
I don't recall, and I'm not at a Bloomberg/R machine right now, but 
isn't the returned time series class zoo or xts?

in that case, you would use 'index', not 'rownames'.

  - Brian

-- 
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock



More information about the R-SIG-Finance mailing list