Skip to content

RBloomberg warning message

1 message · Sergey Goriatchev

#
Hi, Ana,

Thank you for answering.
In each load I download only numerical data (prices), I am not
combining different types of data.
I use retval="zoo", because I find it most useful for my purposes.
Moreover, I've tried "data.frame" before and there were problems with
this setting for retval.
I cannot provide an example script, firstly because it is proprietary,
secondly, because it is very long, and thirdly, because providing
something illustrative is difficult as the problem pops up in
different places (I call blpGetData many times in the script and at
different places) or not at all sometimes!

Since I load daily data for last 5 years and for up to 30 instruments
sometimes, I think the load size may be responsible. But then only
partly, because the same problem pops up when I load 4 years of daily
data for just one ticker. Also the problem does not always pop up when
I load data for 30 tickers at the same time.

Maybe it is some kind of function overload? Before I used to connect
at the beginning of the script, get some data, process it, output
results, get some more data, etc... without disconnecting after each
data retreival call. From today I
connect-retreive-disconnect-process-connect-...

Basically, I am not sure why the problem pops up from time to time.

Kind Regards,
Sergey





Hi, Sergey,
A matrix can only handle 1 kind of data. Everything has to be a numeric, or
everything has to be a string. Are you trying to combine different types of
data?
It might be better to try retval="data.frame".
Otherwise, can you provide an example script which reproduces the problem?
Regards,
Ana
On Tue, Jul 7, 2009 at 3:55 PM, Sergey Goriatchev <sergeyg at gmail.com> wrote:
--
I'm not young enough to know everything. /Oscar Wilde
Experience is one thing you can't get for nothing. /Oscar Wilde
When you are finished changing, you're finished. /Benjamin Franklin
Tell me and I forget, teach me and I remember, involve me and I learn.
/Benjamin Franklin
Luck is where preparation meets opportunity. /George Patten