Julien

Yes, I believe you are right.

I am looking for the 0.1-10 in internet but I cant find it. It was erased from RCran. If any of you have the older version I would appreciate if you can send it to me.

Thanks very much again to all of you

JJ

De: julien cuisinier [mailto:j_cuisinier@hotmail.com]
Enviado el: Thursday, May 31, 2012 2:43 PM
Para: Juan José Fernández García; n-e-w@qtradr.net; r-sig-finance@r-project.org
Asunto: RE: [R-SIG-Finance] RBLOOMBERG--conn=blpConnect(iface="COM") PROBLEMS

Juan,



The RBloomberg with COM interface is an old one & only Java is now supported.

The reason it works on colleague computers is that they did not update their RBloomberg package (as you pointed out 0.1 Vs 0.4 now) & are still running the old version

The periodicity of your download is not defined when establishing the connection (why would it be?) but when using one of the BBG function (probably bdh in your case) - Just look at the RBloomberg manual for more info



HTH,
Julien


> From: jjfgarcia@renta4.es
> To: n-e-w@qtradr.net; r-sig-finance@r-project.org
> Date: Thu, 31 May 2012 12:22:15 +0000
> Subject: Re: [R-SIG-Finance] RBLOOMBERG--conn=blpConnect(iface="COM") PROBLEMS
>
> Hi Nick
> Sorry, i have been out of office for two days
>
> I tried what you suggested
>
> conn <- blpConnect()
>
> bdp(conn,"ES1 Index","PX_LAST")
>
> Everything works fine and R downloaded the last price
>
> I don't have any particular preference for the CONN interface, it is just that this code is working fine in another computer. Also I need to set up two parameters (daily data for open market days), parameters that I can set up using the function as defined in
> http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=RBloomberg:blpConnect
>
> but parameters that I cant use using the Java configuration
>
> One stupid question
>
> The functions I used in the link above require Package RBloomberg version 0.1-10
>
> But I downloaded the RBloomberg Version 0.4-151
>
> Could this be the problem?
>
> Thanks for your patience and help
>
> JJ
>
>
>
>
> -----Mensaje original-----
> De: r-sig-finance-bounces@r-project.org [mailto:r-sig-finance-bounces@r-project.org] En nombre de Nick
> Enviado el: Tuesday, May 29, 2012 1:15 AM
> Para: r-sig-finance@r-project.org
> Asunto: Re: [R-SIG-Finance] RBLOOMBERG--conn=blpConnect(iface="COM") PROBLEMS
>
> You can't simultaneously use COM and Java. Rbbg only supports Java (as has been noted).
>
> Why do you want to use the COM interface?
>
> Make sure you have correctly installed RBloomberg / Rbbg from findata.org
>
> Once it is installed, make sure you have your session correctly initialized:
>
> conn <- blpConnect()
>
> then try a request:
>
> bdp(conn,"ES1 Index","PX_LAST")
>
> if that doesn't work, can you please paste any error messages?
>
> thanks
>
> On 05/29/2012 01:32 AM, julien cuisinier wrote:
> > Juan,
> >
> >
> > No problem, I thik my point is that the blpConnect function does
> > accept only iface="Java" as argument, hhence trying iface="COM" you
> > get the error msge
> >
> > Weird the help() does not work - did you have the RBloomberg package loaded when trying the help(blpConnect)?
> >
> > May be you did not install the help file alongside R? If so I would recomment to do so.
> >
> >
> > I found this which might help, google is your friend ;-):
> > http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=RBloomberg:blpConnect
> >
> >
> >
> > HTH,
> > Julien
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: jjfgarcia@renta4.es
> > To: j_cuisinier@hotmail.com; r-sig-finance@r-project.org
> > Subject: RE: [R-SIG-Finance] RBLOOMBERG--conn=blpConnect(iface="COM")
> > PROBLEMS
> > Date: Mon, 28 May 2012 14:47:34 +0000
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > 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@hotmail.com]
> >
> >
> > Enviado el: Monday, May 28, 2012 4:17 PM
> >
> > Para: Juan José Fernández García; r-sig-finance@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@renta4.es
> >
> > To: r-sig-finance@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@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@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@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]]

