[R-SIG-Finance] RBloomberg hangs on blpConnect()

John Laing john.laing at gmail.com
Thu Oct 27 18:28:16 CEST 2011


You may have an old version of the Bloomberg API. You can upgrade in
Bloomberg via WAPI<GO>, hopefully that will fix the problem.

If you want to check before installing new software try calling
blpConnect with no arguments. It will attempt to find the jar file and
hopefully return an error rather than hang.

John

On Thu, Oct 27, 2011 at 11:12 AM, Harry Prabandham <harryp at gmail.com> wrote:
> Thanks for looking into it John.   I installed 2.13.2 and I still have 2.9.2
> on my machine.  RBloomberg works on 2.9.2, but doesn't work on 2.13.2.
> Here is the info on the version that works:
>> blpConnect(blpapi.jar.file="C:\\blp\\API\\blpapi3.jar")
> R version 2.9.2 (2009-08-24)
> rJava Version 0.8-2
> RBloomberg Version 0.4-140
> Java environment initialized successfully.
> Bloomberg API Version 3.2.8.0
> [1] "Java-Object{org.findata.blpwrapper.Connection at 1e859c0}"
>> sessionInfo()
> R version 2.9.2 (2009-08-24)
> i386-pc-mingw32
> locale:
> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
> States.1252;LC_MONETARY=English_United
> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
> other attached packages:
> [1] RBloomberg_0.4-140 rJava_0.8-2
> loaded via a namespace (and not attached):
> [1] tools_2.9.2
>
> -Harry
>
> On Thu, Oct 27, 2011 at 7:36 AM, John Laing <john.laing at gmail.com> wrote:
>>
>> Hi Harry,
>>
>> RBloomberg works OK for me on R 2.13.2. Do you have the most recent
>> Bloomberg API files installed? Was the package working for you on an
>> earlier version of R and only started hanging since you upgraded?
>>
>> Thanks,
>> John
>>
>> On Thu, Oct 27, 2011 at 9:54 AM, Harry Prabandham <harryp at gmail.com>
>> wrote:
>> > I noticed that RBloomberg hangs on latest R 2.13.2. Is this a known
>> > issue?
>> >  Can you suggest me a version of RBloomberg that does work with 2.13.2.
>> >
>> > Thanks,
>> >
>> > Harry
>> >
>> > sessionInfo()
>> >
>> > R version 2.13.2 (2011-09-30)
>> > Platform: i386-pc-mingw32/i386 (32-bit)
>> >
>> > locale:
>> > [1] LC_COLLATE=English_United States.1252
>> > [2] LC_CTYPE=English_United States.1252
>> > [3] LC_MONETARY=English_United States.1252
>> > [4] LC_NUMERIC=C
>> > [5] LC_TIME=English_United States.1252
>> >
>> > attached base packages:
>> > [1] stats     graphics  grDevices utils     datasets  methods
>> > [7] base
>> >
>> > other attached packages:
>> > [1] RBloomberg_0.4-150 rJava_0.9-1
>> >
>> > loaded via a namespace (and not attached):
>> > [1] tools_2.13.2
>> >
>> >        [[alternative HTML version deleted]]
>> >
>> > _______________________________________________
>> > R-SIG-Finance at 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.
>> >
>
>



More information about the R-SIG-Finance mailing list