[R-SIG-Finance] blpConnect hangs with RBloomberg 0.4-150 on R2.13.1

Murali.Menon at avivainvestors.com Murali.Menon at avivainvestors.com
Tue Sep 6 13:35:52 CEST 2011


Folks,

I am trying to upgrade from R2.11.1 with RBloomberg 0.4-144 and rJava_0.8-6, in which setup I have no problems connecting and using Bloomberg. My Java environment is JRE 6.

I see that some people have got RBloomberg 0.4-150 working under R2.13.1. It doesn't, however, for me: 

I am unable to establish  a connection using

conn <- blpConnect(blpapi.jar.file = 'C:/Program Files/blp/API/blpapi3.jar')

Inside blpConnect.Java() the "Java environment is initialized successfully", but thereafter the call tree gets stuck at .jnew() and hangs.

In .jnew():

o <- .External(RcreateObject, class, ..., silent = silent) 

is the line that hangs (class = "org/findata/blpwrapper/Connection", ... = "Java-Object(WARNING)", silent = FALSE)

I thought I could backtrack to rJava 0.8-8, but that build is not available for R2.13 (and rJava is missing entirely for R2.12) on the CRAN. 

Any suggestions?

Do I need a newer version of Java?

Can anyone point me to rJava 0.8-8 for R2.13 that I could try out instead?


sessionInfo()
R version 2.13.1 Patched (2011-07-22 r56481)
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 LC_NUMERIC=C                            LC_TIME=English_United Kingdom.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] RBloomberg_0.4-150           rJava_0.9-2      plotrix_3.2-2       PerformanceAnalytics_1.0.3.2   xts_0.8-0           zoo_1.7-2                   

loaded via a namespace (and not attached):
[1] grid_2.13.1     lattice_0.19-31

Thanks,

Murali



More information about the R-SIG-Finance mailing list