anna
2010-Jan-20 23:20 UTC
[R] Error on using blpGetData() function from RBloomberg package
Hello, I am using te blpGetData() function to retrieve closing prices from bloomberg on r. This is the code that I wrote: library(RBloomberg) conn=blpConnect blpGetData(conn,"ANF UN Equity","PX_LAST","2009/09/01","2009/09/10") and I get the following error: Error in substring(paste("0", v$day, sep = ""), first = nchar(paste(v$day))) : invalid substring argument(s) In addition: Warning messages: 1: In as.COMDate.chron(start) : NAs introduced by coercion 2: In as.COMDate.chron(end) : NAs introduced by coercion 3: In as.matrix.BlpCOMReturn(x) : NAs introduced by coercion I have tried to google the error and search it on the forum but couldn't find it, could someone please help me? Thank you -- View this message in context: http://n4.nabble.com/Error-on-using-blpGetData-function-from-RBloomberg-package-tp1022005p1022005.html Sent from the R help mailing list archive at Nabble.com.