Hi there.
I am getting an error when trying to establish a connection to Bloomberg
with the RBloomberg library (java version, RDCOMclient version is hopeless
for me as I don't have administrative rights on my XP machine).
This is my code:

library(RBloomberg)

# blpapi3.jar file not in default directory
cn <- blpConnect(blpapi.jar.file="c:\\Program Files\\blp\\API\\blpapi3.jar")

the response:

R version 2.11.1 (2010-05-31)
rJava Version 0.8-4
RBloomberg Version 0.4-142
Java environment initialized successfully.
Error in .jnew("org/findata/blpwrapper/Connection", java.log.level) :
  java.lang.NoClassDefFoundError: org/findata/blpwrapper/Connection

I am a complete java ignorant, but I got to find that it seems like the
.jaddClassPath() funtion is not working properly, extracted and modified
from blpConnect.Java:

> .jclassPath()
[1] "C:\\PROGRA~1\\R\\R-211~1.1\\library\\rJava\\java"
> .jaddClassPath("c:\\Program Files\\blp\\API")
> .jclassPath()
[1] "C:\\PROGRA~1\\R\\R-211~1.1\\library\\rJava\\java"
> blpwrapper.jar.file
[1] "C:/PROGRA~1/R/R-211~1.1/library/RBloomberg/java/blpwrapper.jar"
> .jaddClassPath(blpwrapper.jar.file)
> .jclassPath()
[1] "C:\\PROGRA~1\\R\\R-211~1.1\\library\\rJava\\java"
> blpapi.jar.file
[1] "c:\\Program Files\\blp\\API\\blpapi3.jar"
> .jaddClassPath(blpapi.jar.file)
> .jclassPath()
[1] "C:\\PROGRA~1\\R\\R-211~1.1\\library\\rJava\\java"

I also enclose this code:

> sessionInfo()
R version 2.11.1 (2010-05-31)
i386-pc-mingw32

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United
States.1252
[3] LC_MONETARY=English_United States.1252
LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

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

other attached packages:
[1] RBloomberg_0.4-142 rJava_0.8-4        svIDE_0.9-49

loaded via a namespace (and not attached):
[1] svMisc_0.9-57 tcltk_2.11.1  tools_2.11.1  XML_3.1-0


Any clue of what could be happening?.
Thanks very much in advance.

Nacho.

	[[alternative HTML version deleted]]

