Skip to content
Prev 13673 / 15274 Next

Rblpapi connection issue

Will,

There are a few things causing you problems here. First, the real answer
for you:

If you're running the usual setup, where both R and Bloomberg are local to
your desktop, you don't need to use blpAuthenticate at all. Because you're
connecting through your own terminal your API connection will inherit all
of your settings. This function exists for use with Server API, in which
many users connect through a single headless process.

And additional detail on the side-issues:
* Don't worry about the defaultConnection() function. It is just a shortcut
for managing a single connection (the most common use case) rather than
having to pass the connection object into every. single. function. call. It
is not exported from the package, which is why you can't find it.
* Because of the above, you don't need to fiddle with the con argument in
general. Your trouble with blpAuthenticate is coming from the
host/ip.address arguments. To the extent you need to use this (and you
probably don't), you should use the IP address associated with your
computer.

Hope that helps,
-John
On Fri, Jan 22, 2016 at 5:17 AM, Will Oswald <will.oswald at gmail.com> wrote: