Thanks all. I hadn’t thought of ignoring the blpConnect & blpAuthenticate calls 
altogether and, using the bdp function to test things out (passing blpConnect() 
as the final parameter), I had no issues whatsoever with retrieving data.

On 22 Jan 2016, at 8:11 PM, John Laing <john.la...@gmail.com> wrote:

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.osw...@gmail.com 
<mailto:will.osw...@gmail.com>> wrote:
Thanks Nick. I tried that option, but my processes just hang.

On 22 Jan 2016, at 6:11 PM, Nick White <n-...@qtradr.net 
<mailto:n-...@qtradr.net>> wrote:

Does it not work if you just enter:

conn <-blpConnect()

without more?

That should usually be enough to get you up and running with the rest of the 
package unless you have some significantly different defaults

The above assumes you're on a Win box, Bloomberg terminal is open on the same 
machine as your R instance (ie desktop API), you are logged in and you have no 
other issues connecting to the API (check if you can use the Excel API)

On Fri, Jan 22, 2016 at 5:12 PM, Will Oswald <will.osw...@gmail.com 
<mailto:will.osw...@gmail.com> <mailto:will.osw...@gmail.com 
<mailto:will.osw...@gmail.com>>> wrote:
I am unable to authenticate my Bloomberg data connection using the Rblpapi 
function, blpAuthenticate. I have used the following: uuid = Taken from the 
"IAM " screen, both as a character type as well as numeric host = Using "CONN 
", I have chosen the host name listed "Adapter Info" tab ip.address = Again, 
from "CONN ", I have used the IP Address shown there (as a character).

If I use the blpConnect function, as specified in help, I can connect but if I 
call the defaultConnection() function, I get an error stating this function 
cannot be found. If I alternatively call the blpConnect function in this call, 
the process just hangs and never completes.

Any suggestions please on whether I have either set the parameters, or if there 
are other checks I need to make in order to connect? As a final note, I’m 
connecting to Bloomberg using Internet rather than a Private IP network (I’m 
running Bloomberg on a home computer).
        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Finance@r-project.org <mailto:R-SIG-Finance@r-project.org> 
<mailto:R-SIG-Finance@r-project.org <mailto:R-SIG-Finance@r-project.org>> 
mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance 
<https://stat.ethz.ch/mailman/listinfo/r-sig-finance> 
<https://stat.ethz.ch/mailman/listinfo/r-sig-finance 
<https://stat.ethz.ch/mailman/listinfo/r-sig-finance>>
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.



        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Finance@r-project.org <mailto:R-SIG-Finance@r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance 
<https://stat.ethz.ch/mailman/listinfo/r-sig-finance>
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.


        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Finance@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.

Reply via email to