[R-SIG-Finance] RBloomberg package rename

John Laing john.laing at gmail.com
Wed Jun 6 13:10:16 CEST 2012


Hi Julien,

This behavior can happen if you do not have an up-to-date version of
the Java v3 API. Did you download the Java version of the SDK from the
WAPI function?

-John

On Wed, Jun 6, 2012 at 4:37 AM, julien cuisinier
<j_cuisinier at hotmail.com> wrote:
>
> Thanks Nick, does not change a thing unfortunately.
>
> Trying to specify the location of the jar file does not work either:
>> conn <- blpConnect(blpapi.jar.file="C:\\blp\\API\\blpapi3.jar")
>
> R stop responding & I need to kill the process everytime...
>
> any idea most welcome
>
> Thanks,
> Julien
>
>
>
>> Date: Wed, 6 Jun 2012 18:06:39 +1000
>> From: n-e-w at qtradr.net
>> To: r-sig-finance at r-project.org
>> Subject: Re: [R-SIG-Finance] RBloomberg package rename
>>
>> Julien,
>>
>> Perhaps try uninstalling RBloomberg now that you have Rbbg installed.
>> That *might* cause a conflict. I haven't tried this though.
>>
>> Just seems like a good first step before diving into the filesystem /
>> debugging the Java issue (if there is one)
>>
>>
>>
>> On 06/06/2012 06:01 PM, julien cuisinier wrote:
>> > Hi John / List,
>> >
>> >
>> >
>> > Many thanks for keeping us posted on the below.
>> >
>> > When trying to install Rbbg (Or RBloomberg before name switch) It does not find the blpapi3.jar file - which in my PC after the install of the BBG SDK I have in the folder "C:\blp\API" and not into "C:\blp\API\APIv3\JavaAPI" that the package is looking in...Probably me doing something? or any way to change the folder where it looks for the .jar file?  Any feedback appreciated...
>> >
>> >
>> > Many thanks,
>> > Julien
>> >
>> >
>> >
>> >
>> > Below some session infos after running the BLPSDKInstaller.EXE downloaded from BBG desktop:
>> >
>> >> sessionInfo()
>> > R version 2.15.0 (2012-03-30)
>> > Platform: i386-pc-mingw32/i386 (32-bit)
>> >
>> > locale:
>> > [1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252    LC_MONETARY=English_United Kingdom.1252
>> > [4] LC_NUMERIC=C                            LC_TIME=English_United Kingdom.1252
>> >
>> > attached base packages:
>> > [1] stats     graphics  grDevices utils     datasets  methods   base
>> >
>> > other attached packages:
>> > [1] Rbbg_0.4-153                 RBloomberg_0.4-151           rJava_0.9-3                  PerformanceAnalytics_1.0.4.4
>> > [5] xts_0.8-6                    zoo_1.7-7
>> >
>> > loaded via a namespace (and not attached):
>> > [1] grid_2.15.0    lattice_0.20-6 tools_2.15.0
>> >
>> >> library(Rbbg)
>> > Attaching package: 'Rbbg'
>> >
>> > The following object(s) are masked from 'package:RBloomberg':
>> >
>> >     allBloombergTests, bar, bdh, bdp, bds, blp, blpConnect, blpConnect.Java, blpDisconnect, blpFieldInfo,
>> >     blpGetData, convert.data.to.type, convert.to.type, field.description, process.result,
>> >     runAllBloombergTests, tick
>> >
>> >> conn <- blpConnect()
>> > R version 2.15.0 (2012-03-30)
>> > rJava Version 0.9-3
>> > Rbbg Version 0.4-153
>> > Java environment initialized successfully.
>> > Looking for most recent blpapi3.jar file...
>> > Error in blpConnect.Java("warning", NULL, TRUE, NULL, TRUE) :
>> >   Can't find C:\blp\API\APIv3\JavaAPI please confirm you have Bloomberg Version 3 Java API installed. If it's in a different location, please report this to Rbbg package maintainer.
>> >
>> >> setwd("C:\\blp\\API")
>> >> getwd()
>> > [1] "C:/blp/API"
>> >
>> >> list.files()
>> >  [1] "activex"               "ARDJFieldsMapping.xml" "bbapi.dll"             "bbcomm.exe"
>> >  [5] "bbconfig.exe"          "Bbfields.ext"          "Bbfields.ovr"          "Bbfields.tbl"
>> >  [9] "Bbfieldsj.tbl"         "bbloaderv3.dll"        "bbstop.exe"            "bbtstapi.exe"
>> > [13] "blpapi3.jar"           "blpapi3_32.dll"        "blpapi32.dll"          "blpapicom.dll"
>> > [17] "blpapicom2.dll"        "blpdapisup.dll"        "blpsend"               "Bny00003.ico"
>> > [21] "Bny00004.ico"          "Ccylist.tbl"           "cdrlist.tbl"           "dde"
>> > [25] "IBESFieldMapping.tbl"  "MeterTrayTool.exe"     "Office Tools"
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >> Date: Mon, 21 May 2012 11:08:00 -0400
>> >> From: john.laing at gmail.com
>> >> To: r-sig-finance at r-project.org
>> >> Subject: [R-SIG-Finance] RBloomberg package rename
>> >>
>> >> The package formerly known as RBloomberg has been renamed Rbbg. As
>> >> this package is not formally affiliated with or endorsed by Bloomberg,
>> >> their lawyers have requested that we not reference the company by
>> >> name.
>> >>
>> >> The existing package will continue to work, but its binaries are no
>> >> longer publicly available and all updates/bug fixes/new features will
>> >> be rolled into the new package. The new Rbbg can be installed like
>> >> this:
>> >> install.packages("Rbbg", repos = "http://r.findata.org")
>> >>
>> >> Apologies for any inconvenience.
>> >>
>> >> -John
>> >>
>> >> _______________________________________________
>> >> 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.
>> >
>> >     [[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.
>>
>>
>>       [[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.
>
>        [[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