[R-SIG-Finance] RBLOOMBERG--conn=blpConnect(iface="COM") PROBLEMS
R. Michael Weylandt
michael.weylandt at gmail.com
Mon May 28 16:56:16 CEST 2012
Note also that you're probably using a somewhat outdated version -- as
of a few days ago the package is no longer called "RBloomberg" (see
John's posting here:
https://stat.ethz.ch/pipermail/r-sig-finance/2012q2/010275.html) --
you might try updating to Rbbg and seeing what happens.
[In addition to going the Java route instead of the COM route, but I'm
not at a computer with a bbg terminal to verify that]
Best,
Michael
On Mon, May 28, 2012 at 10:47 AM, Juan José Fernández García
<jjfgarcia at renta4.es> wrote:
> Julien
>
> Thnkx very much. Actually the full code is this
>
> blpConnect(iface="COM",
> na.action="na", periodicity="daily")
>
> I think this is the proper way to use the function (I am a R beginner), that's why I used it
>
> When I type help(blpConnect) I get this:
>
> No documentation for 'blpConnect' in specified packages and libraries:
> you could try '??blpConnect'
>
> I followed the manual instructions and installed Java Version 3 API,
> rJava package and I also downloaded Jave from the Java website.
>
> Thanks again
>
> JJ
>
> De: julien cuisinier [mailto:j_cuisinier at hotmail.com]
> Enviado el: Monday, May 28, 2012 4:17 PM
> Para: Juan José Fernández García; r-sig-finance at r-project.org
> Asunto: RE: [R-SIG-Finance] RBLOOMBERG--conn=blpConnect(iface="COM") PROBLEMS
>
> Hi,
>
> when I type help(blpConnect) in R, I read this:
>
> "
> Arguments
> iface
>
> character. Which Bloomberg interface? (only "Java" currently supported).
>
> "
>
> why do you try to give the "COM" value to iface argument?
>
> after the :
>
> "conn <- blpConnect()" you are connected as far as I know?
>
>
>
> If I said something stupid, sure the package owner will contradict me
>
>
>
> Rgds,
>
> Julien
>
>
> From: jjfgarcia at renta4.es
> To: r-sig-finance at r-project.org
> Date: Mon, 28 May 2012 13:56:04 +0000
> Subject: [R-SIG-Finance] RBLOOMBERG--conn=blpConnect(iface="COM") PROBLEMS
>
> Dear All,
>
>
>
> In the first place I would like to thank you for your contribution to R.
>
>
>
> I am having this problem with Rbloomberg.
>
>
>
> I followed the manual and downloaded the API from bloomberg. However, when I run
>
> conn=blpConnect(iface="COM") I got the error message below . ¿do you know why this might happen?
>
> Thanks very much
>
>
>
>> library(RBloomberg)
>
> Loading required package: rJava
>
>> conn <- blpConnect()
>
> R version 2.15.0 (2012-03-30)
>
> rJava Version 0.9-3
>
> RBloomberg Version 0.4-151
>
> Java environment initialized successfully.
>
> Looking for most recent blpapi3.jar file...
>
> Adding C:\blp\API\APIv3\JavaAPI\v3.4.6.6\lib\blpapi3.jar to Java classpath
>
> Bloomberg API Version 3.4.6.6
>
>> conn=blpConnect(iface="COM")
>
> Error en blpConnect(iface = "COM") :
>
> Requsted interface COM is not valid! Valid interfaces are Java
>
>
>
>
>
> SessionInfo
>
>
>
> R version 2.15.0 (2012-03-30)
>
> Platform: i386-pc-mingw32/i386 (32-bit)
>
>
>
> locale:
>
> [1] LC_COLLATE=Spanish_Spain.1252 LC_CTYPE=Spanish_Spain.1252
>
> [3] LC_MONETARY=Spanish_Spain.1252 LC_NUMERIC=C
>
> [5] LC_TIME=Spanish_Spain.1252
>
>
>
> attached base packages:
>
> [1] stats graphics grDevices datasets utils methods base
>
>
>
> other attached packages:
>
> [1] RBloomberg_0.4-151 rJava_0.9-3 rcom_2.2-5 rscproxy_2.0-5
>
>
>
> loaded via a namespace (and not attached):
>
> [1] tools_2.15.0
>
>
>
>
>
> [[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