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@gmail.com> wrote:

> Hello, everyone
>
> I have this very long script, where I call blpGetData many times (I
> get some data, I do some computations, I output results in and Excel
> file, I call some other data....)
>
> As the code grew, I started to get the same warning message more and more
> often:
>
> "Warning message:
> In as.matrix.BlpCOMReturn(x) NAs are introduced by coersion"
>
> Basically, blpGetData sometimes does not work!
>
> This message comes up in different parts of the code (in different
> calls to blpGetData), and since script is very long and runs
> considerable amount of time, one such error
> completely messes up the end results.
>
> Does anyone know why blpGetData sometimes fails to execute?
>
> Thanks in advance for help!
>
> Best,
> Sergey
>
> _______________________________________________
> R-SIG-Finance@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
>

	[[alternative HTML version deleted]]

